summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-05 18:55:28 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-05 08:43:00 +0000
commita9ee39cadf02fad849ce7a10785ae22a3c284699 (patch)
tree77145d3f80de03abdb37e015f987d68d632781d9
parent906e3f12973a26e387116508ea745dc554221764 (diff)
downloadsamba-a9ee39cadf02fad849ce7a10785ae22a3c284699.tar.gz
samba-a9ee39cadf02fad849ce7a10785ae22a3c284699.tar.bz2
samba-a9ee39cadf02fad849ce7a10785ae22a3c284699.zip
s4-test: changed the gentest test to use a fixed seed.
we need our test suite to produce repeatable results Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 5 08:43:00 UTC 2010 on sn-devel-104
-rwxr-xr-xsource4/torture/tests/test_gentest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/tests/test_gentest.sh b/source4/torture/tests/test_gentest.sh
index ad9ecd636a..5aea91ec13 100755
--- a/source4/torture/tests/test_gentest.sh
+++ b/source4/torture/tests/test_gentest.sh
@@ -28,7 +28,7 @@ all_info.out.fname
internal_information.out.file_id
EOF
-testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --num-ops=100 --ignore=$PREFIX/gentest.ignore -W "$DOMAIN" -U"$USERNAME%$PASSWORD" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
+testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --seed=1 --num-ops=100 --ignore=$PREFIX/gentest.ignore -W "$DOMAIN" -U"$USERNAME%$PASSWORD" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
rm -f $PREFIX/gentest.ignore