testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.
authorMichael Adam <obnox@samba.org>
Tue, 6 May 2008 21:43:37 +0000 (23:43 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 6 May 2008 22:14:17 +0000 (00:14 +0200)
This allows for calling e.g.

TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test

Michael
(This used to be commit 7418d89b2941fff307e0980d1f71f106aed8cbce)

source3/script/tests/test_posix_s3.sh

index 11f1f0eda4078327548d6d705d2bfbc56d30b875..3e9998666c4f4f02f71cb3d19f2547abe89af7dc 100755 (executable)
@@ -46,6 +46,10 @@ unix="UNIX-INFO2"
 
 tests="$base $raw $rpc $unix"
 
+if test "x$POSIX_SUBTESTS" != "x" ; then
+       tests="$POSIX_SUBTESTS"
+fi
+
 skipped="BASE-CHARSET BASE-TCONDEV"
 skipped="$skipped RAW-ACLS RAW-COMPOSITE RAW-CONTEXT"
 skipped="$skipped RAW-IOCTL"