From fd1b550851d9b6c91e5c20a692572d454e61d618 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 3 Jun 2006 09:51:59 +0000 Subject: r16025: make sure the samba4's smbtorture can be executed metze (This used to be commit bed220afb816138a3e806c5d20e812667f6994ae) --- source3/script/tests/tests_all.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/script/tests/tests_all.sh b/source3/script/tests/tests_all.sh index 64a7065ee9..059f9d1a37 100755 --- a/source3/script/tests/tests_all.sh +++ b/source3/script/tests/tests_all.sh @@ -2,9 +2,10 @@ $SCRIPTDIR/test_smbtorture_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?` $SCRIPTDIR/test_smbclient_s3.sh $SERVER $SERVER_IP || failed=`expr $failed + $?` -if [ -n "$SMBTORTURE4" ];then +SMBTORTURE4VERSION=`$SMBTORTURE4 --version` +if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then echo "Running Tests with Samba4's smbtorture" - $SMBTORTURE4 --version + echo $SMBTORTURE4VERSION $SCRIPTDIR/test_posix_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?` else echo "Skip Tests with Samba4's smbtorture" -- cgit