summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-06 01:12:56 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-06 01:12:56 +0100
commit1f46aac357b986405215ea7cbf9a1c971a2482d0 (patch)
tree19458091bc6b7f2bc3e0d8c735bf3d9f6c284bd7 /source3/script
parentaaa27706664da2855c09da0691c3717b571edaba (diff)
downloadsamba-1f46aac357b986405215ea7cbf9a1c971a2482d0.tar.gz
samba-1f46aac357b986405215ea7cbf9a1c971a2482d0.tar.bz2
samba-1f46aac357b986405215ea7cbf9a1c971a2482d0.zip
Use metze's approach.
(This used to be commit 126cc075995ffaeb65317627acae05c1b96cebd0)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/tests_all.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/script/tests/tests_all.sh b/source3/script/tests/tests_all.sh
index 2edc025017..3871b33944 100755
--- a/source3/script/tests/tests_all.sh
+++ b/source3/script/tests/tests_all.sh
@@ -1,4 +1,3 @@
-
$SCRIPTDIR/test_local_s3.sh || failed=`expr $failed + $?`
$SCRIPTDIR/test_smbtorture_s3.sh //$SERVER_IP/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
echo "Testing encrypted"
@@ -8,9 +7,8 @@ echo "Testing encrypted"
$SCRIPTDIR/test_smbclient_s3.sh $SERVER $SERVER_IP "-e" || failed=`expr $failed + $?`
$SCRIPTDIR/test_wbinfo_s3.sh $WORKGROUP $SERVER $USERNAME $PASSWORD || failed=`expr $failed + $?`
-LD_LIBRARY_PATH="$SAMBA4SHAREDDIR:$LD_LIBRARY_PATH"
-echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
-export LD_LIBRARY_PATH
+eval "$LIB_PATH_VAR="\$SAMBA4SHAREDDIR:\$LIB_PATH_VAR"; export $LIB_PATH_VAR"
+echo "$LIB_PATH_VAR=$LD_LIBRARY_PATH"
SMBTORTURE4VERSION=`$SMBTORTURE4 --version`
if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
echo "Running Tests with Samba4's smbtorture"
@@ -19,3 +17,4 @@ if [ -n "$SMBTORTURE4" -a -n "$SMBTORTURE4VERSION" ];then
else
echo "Skip Tests with Samba4's smbtorture"
fi
+