mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
selftest: Use TESTS env var to specify tests to run like Samba4 does.
This commit is contained in:
parent
48446f0c79
commit
6fb1fe803c
@ -6,7 +6,7 @@ if [ $# != 3 ]; then
|
||||
fi
|
||||
|
||||
SMBTORTURE4=$3
|
||||
TESTS=$2
|
||||
SUBTESTS=$2
|
||||
|
||||
##
|
||||
## create the test directory
|
||||
@ -290,7 +290,7 @@ START=`date`
|
||||
|
||||
failed=0
|
||||
|
||||
. $SCRIPTDIR/tests_$TESTS.sh
|
||||
. $SCRIPTDIR/tests_$SUBTESTS.sh
|
||||
exit $failed
|
||||
)
|
||||
failed=$?
|
||||
|
@ -64,7 +64,7 @@ posix_s3() {
|
||||
fi
|
||||
}
|
||||
|
||||
if test "x$RUNTESTS" = "x" ; then
|
||||
if test "x$TESTS" = "x" ; then
|
||||
local_s3
|
||||
smbtorture_s3
|
||||
smbtorture_s3_encrypted
|
||||
@ -75,7 +75,7 @@ if test "x$RUNTESTS" = "x" ; then
|
||||
net_registry
|
||||
posix_s3
|
||||
else
|
||||
for THIS_TEST in $RUNTESTS; do
|
||||
for THIS_TEST in $TESTS; do
|
||||
$THIS_TEST
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user