r24707: Remove some more cruft from the test list generation code.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 27 Aug 2007 14:38:13 +0000 (14:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:52 +0000 (15:02 -0500)
source/selftest/test_cifs.sh
source/selftest/test_local.sh
source/selftest/test_posix.sh
source/selftest/test_quick.sh
source/selftest/test_simple.sh
source/selftest/test_w2k3_file.sh

index 2bf3c4a5b1bd31236273562395132febaa06b286..76bb4c65e7914543d4e474d66613f262512016c7 100755 (executable)
@@ -10,12 +10,8 @@ incdir=`dirname $0`
 
 raw=`bin/smbtorture --list | grep "^RAW-" | xargs`
 base=`bin/smbtorture --list | grep "^BASE-" | xargs`
-tests="$base $raw $smb2"
+tests="$base $raw"
 
 for t in $tests; do
-    if [ ! -z "$start" -a "$start" != $t ]; then
-       continue;
-    fi
-    start=""
     plantest "ntvfs/cifs $t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $t
 done
index d4c6b656c90f5953e81f032530a27f97ae751242..b3b8387f007e05ddca95ebf8adabd0c4ead62bf3 100755 (executable)
@@ -5,10 +5,6 @@ local_tests=`bin/smbtorture --list | grep "^LOCAL-" | xargs`
 incdir=`dirname $0`
 . $incdir/test_functions.sh
 
-# the local tests don't need smbd
-SMBD_TEST_FIFO=""
-export SMBD_TEST_FIFO
-
 for t in $local_tests; do
        plantest "$t" none $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
 done
index 88040def8820fd2cf3ec4fc6fc120bd663467741..8a547b906ee21ce2f60f18b5a189a4258b4ec054 100755 (executable)
@@ -14,9 +14,5 @@ base=`bin/smbtorture --list | grep "^BASE-" | xargs`
 tests="$base $raw $smb2"
 
 for t in $tests; do
-    if [ ! -z "$start" -a "$start" != $t ]; then
-       continue;
-    fi
-    start=""
     plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
 done
index e2c14e42f2b1736c3f6d7a218582c4f196525a74..438c04e444611713b1ed5abed8b740a81e8b46be 100755 (executable)
@@ -14,8 +14,7 @@ tests="$tests RAW-UNLINK RAW-READ RAW-CLOSE RAW-IOCTL RAW-RENAME"
 tests="$tests RAW-EAS RAW-STREAMS"
 
 for t in $tests; do
-    name="$t"
-    plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
+    plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
 done
 
 name=BASE-OPEN
index a4a672cd5bd7085971969b7713ecde52c716eb59..00cfb34a9f79bf5f8fb29fbfbc7a2c81005ce56f 100755 (executable)
@@ -9,6 +9,5 @@ incdir=`dirname $0`
 tests="BASE-RW1"
 
 for t in $tests; do
-    name="$t"
-    plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t
+    plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t
 done
index f008d491283b62489679d029e69415deca00a309..d59d2b49efedc929b64e85d58189aebef7e6a4a9 100755 (executable)
@@ -40,10 +40,5 @@ fail="RAW-SEARCH RAW-ACLS RAW-QFSINFO"
 echo "Skipping tests expected to fail: $fail"
 
 for t in $tests; do
-    if [ ! -z "$start" -a "$start" != $t ]; then
-       continue;
-    fi
-    start=""
-    name="$t"
-    testit "$name" smb $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t
+    testit "$t" smb $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t
 done