s4-test: changed the gentest test to use a fixed seed.
authorAndrew Tridgell <tridge@samba.org>
Tue, 5 Oct 2010 07:55:28 +0000 (18:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 5 Oct 2010 08:43:00 +0000 (08:43 +0000)
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

source4/torture/tests/test_gentest.sh

index ad9ecd636a2bbf83ff5798c9c3b029b36a91f762..5aea91ec1383d56cb1d2c7ed5f994223a2b1b3ff 100755 (executable)
@@ -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