Remove the smbd:writetimeupdatedelay change Metze added. Metze please
authorJeremy Allison <jra@samba.org>
Fri, 6 Nov 2009 01:43:33 +0000 (17:43 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 6 Nov 2009 01:43:33 +0000 (17:43 -0800)
explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.

source3/script/tests/selftest.sh
source3/script/tests/test_posix_s3.sh

index 73d0aa4c0e4dd51f91d94becf2a3b2e9d19a9fa4..80e50429ad32b45d274897268aac01ca579a520f 100755 (executable)
@@ -249,7 +249,7 @@ cat >$SERVERCONFFILE<<EOF
 
        read only = no
        smbd:sharedelay = 100000
-       smbd:writetimeupdatedelay = 500000
+#      smbd:writetimeupdatedelay = 500000
        map hidden = no
        map system = no
        map readonly = no
index eaae813e116d7131e981f079f732fdf78707c8da..01d392a80fe2160b4e1c589532b02d29c2d3c15f 100755 (executable)
@@ -71,7 +71,7 @@ skipped="$skipped RAW-SFILEINFO"
 echo "WARNING: Skipping tests $skipped"
 
 ADDARGS="$ADDARGS --option=torture:sharedelay=100000"
-ADDARGS="$ADDARGS --option=torture:writetimeupdatedelay=500000"
+#ADDARGS="$ADDARGS --option=torture:writetimeupdatedelay=500000"
 
 failed=0
 for t in $tests; do
@@ -90,7 +90,11 @@ for t in $tests; do
     fi
     start=""
     name="$t"
-    testit "$name" $VALGRIND $SMBTORTURE4 $TORTURE4_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t || failed=`expr $failed + 1`
+    if [ "$t" = "BASE-DELAYWRITE" ]; then
+           testit "$name" $VALGRIND $SMBTORTURE4 $TORTURE4_OPTIONS --maximum-runtime=900 $ADDARGS $unc -U"$username"%"$password" $t || failed=`expr $failed + 1`
+    else
+           testit "$name" $VALGRIND $SMBTORTURE4 $TORTURE4_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t || failed=`expr $failed + 1`
+    fi
 done
 
 testok $0 $failed