svn commit: samba r16026 - in trunk/source/script/tests: .

metze at samba.org metze at samba.org
Sat Jun 3 09:52:58 GMT 2006


Author: metze
Date: 2006-06-03 09:52:55 +0000 (Sat, 03 Jun 2006)
New Revision: 16026

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16026

Log:
make sure the samba4's smbtorture can be executed

metze
Modified:
   trunk/source/script/tests/tests_all.sh


Changeset:
Modified: trunk/source/script/tests/tests_all.sh
===================================================================
--- trunk/source/script/tests/tests_all.sh	2006-06-03 09:51:59 UTC (rev 16025)
+++ trunk/source/script/tests/tests_all.sh	2006-06-03 09:52:55 UTC (rev 16026)
@@ -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"



More information about the samba-cvs mailing list