The branch, v3-3-test has been updated
       via  443691eb2614919043406f94e9c71b49230612d5 (commit)
      from  9c59c1895d8d3621f38b67ecf88109c81130c886 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 443691eb2614919043406f94e9c71b49230612d5
Author: Karolin Seeger <[EMAIL PROTECTED]>
Date:   Tue May 13 14:01:52 2008 +0200

    tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.
    
    Improve error message if no SMB4TORTURE is available.
    
    Karolin

-----------------------------------------------------------------------

Summary of changes:
 source/script/tests/tests_all.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/script/tests/tests_all.sh b/source/script/tests/tests_all.sh
index 5a6b467..fa62a51 100755
--- a/source/script/tests/tests_all.sh
+++ b/source/script/tests/tests_all.sh
@@ -52,7 +52,9 @@ posix_s3() {
        echo "RUNNING TESTS posix_s3"
        eval "$LIB_PATH_VAR="\$SAMBA4SHAREDDIR:\$$LIB_PATH_VAR"; export 
$LIB_PATH_VAR"
        eval echo "$LIB_PATH_VAR=\$$LIB_PATH_VAR"
-       SMBTORTURE4VERSION=`$SMBTORTURE4 --version`
+       if [ -x "$SMBTORTURE4" ]; then
+               SMBTORTURE4VERSION=`$SMBTORTURE4 --version`
+       fi
        if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
                echo "Running Tests with Samba4's smbtorture"
                echo $SMBTORTURE4VERSION
@@ -61,6 +63,7 @@ posix_s3() {
                || failed=`expr $failed + $?`
        else
                echo "Skip Tests with Samba4's smbtorture"
+               echo "Try to compile with --with-smbtorture4-path=PATH to 
enable"
        fi
 }
 


-- 
Samba Shared Repository

Reply via email to