From 5c847a00a7eccc190b1d63a3fca1420db8543edf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 26 Jan 2007 13:03:28 +0000 Subject: r21028: Generate list of tests rather than maintaining it manually. (This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362) --- source4/script/tests/test_posix.sh | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'source4/script') diff --git a/source4/script/tests/test_posix.sh b/source4/script/tests/test_posix.sh index 81e7268c2d..e8a8ef3f6e 100755 --- a/source4/script/tests/test_posix.sh +++ b/source4/script/tests/test_posix.sh @@ -20,32 +20,7 @@ ADDARGS="$*" incdir=`dirname $0` . $incdir/test_functions.sh -# -# please don't remove tests here, when you want them to be skipped! -# just add them to the skipped line below -# this should be the complete list smbtorture offers as BASE-* tests -# -base="BASE-ATTR BASE-CHARSET BASE-CHKPATH BASE-DEFER_OPEN BASE-DELAYWRITE BASE-DELETE" -base="$base BASE-DENY1 BASE-DENY2 BASE-DENY3 BASE-DENYDOS BASE-DIR1 BASE-DIR2" -base="$base BASE-DISCONNECT BASE-FDPASS BASE-LOCK " -base="$base BASE-MANGLE BASE-NEGNOWAIT BASE-NTDENY1" -base="$base BASE-NTDENY2 BASE-OPEN BASE-OPENATTR BASE-PROPERTIES BASE-RENAME BASE-RW1" -base="$base BASE-SECLEAK BASE-TCON BASE-TCONDEV BASE-TRANS2 BASE-UNLINK BASE-VUID" -base="$base BASE-XCOPY" - -# -# please don't remove tests here, when you want them to be skipped! -# just add them to the skipped line below -# this should be the complete list smbtorture offers as RAW-* tests -# -raw="RAW-CHKPATH RAW-CLOSE RAW-COMPOSITE RAW-CONTEXT RAW-EAS" -raw="$raw RAW-IOCTL RAW-LOCK RAW-MKDIR RAW-MUX RAW-NOTIFY RAW-OPEN RAW-OPLOCK" -raw="$raw RAW-QFILEINFO RAW-QFSINFO RAW-READ RAW-RENAME RAW-SEARCH RAW-SEEK" -raw="$raw RAW-SFILEINFO RAW-SFILEINFO-BUG RAW-STREAMS RAW-UNLINK RAW-WRITE" - -smb2="SMB2-CONNECT SMB2-GETINFO SMB2-SETINFO SMB2-FIND" - -tests="$base $raw $smb2" +tests=`bin/smbtorture --list | grep "^(BASE|RAW|SMB2)-" | xargs` # # please add tests you want to be skipped here! -- cgit