1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Remove the smbd:writetimeupdatedelay change Metze added. Metze please

explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.
This commit is contained in:
Jeremy Allison 2009-11-05 17:43:33 -08:00
parent 0551284dc0
commit e434934526
2 changed files with 7 additions and 3 deletions

View File

@ -249,7 +249,7 @@ cat >$SERVERCONFFILE<<EOF
read only = no read only = no
smbd:sharedelay = 100000 smbd:sharedelay = 100000
smbd:writetimeupdatedelay = 500000 # smbd:writetimeupdatedelay = 500000
map hidden = no map hidden = no
map system = no map system = no
map readonly = no map readonly = no

View File

@ -71,7 +71,7 @@ skipped="$skipped RAW-SFILEINFO"
echo "WARNING: Skipping tests $skipped" echo "WARNING: Skipping tests $skipped"
ADDARGS="$ADDARGS --option=torture:sharedelay=100000" ADDARGS="$ADDARGS --option=torture:sharedelay=100000"
ADDARGS="$ADDARGS --option=torture:writetimeupdatedelay=500000" #ADDARGS="$ADDARGS --option=torture:writetimeupdatedelay=500000"
failed=0 failed=0
for t in $tests; do for t in $tests; do
@ -90,7 +90,11 @@ for t in $tests; do
fi fi
start="" start=""
name="$t" 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 done
testok $0 $failed testok $0 $failed