mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r24707: Remove some more cruft from the test list generation code.
(This used to be commit 76dddbdb51
)
This commit is contained in:
parent
a73a8d4b9d
commit
e1ecb353a5
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user