diff options
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/tests/selftest.sh | 2 | ||||
-rwxr-xr-x | source3/script/tests/test_smbtorture_s3.sh | 2 | ||||
-rwxr-xr-x | source3/script/tests/tests_all.sh | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 54b1c9c380..cf7a9fe704 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -105,6 +105,7 @@ NSS_WRAPPER_GROUP="$PRIVATEDIR/group" WINBINDD_SOCKET_DIR=$PREFIX_ABS/winbindd WINBINDD_PRIV_PIPE_DIR=$LOCKDIR/winbindd_privileged TEST_DIRECTORY=$DIRECTORY +LOCAL_PATH=$SHRDIR export PREFIX PREFIX_ABS export CONFIGURATION CONFFILE SAMBA4CONFIGURATION SAMBA4CONFFILE @@ -116,6 +117,7 @@ export WORKGROUP SERVER SERVER_IP export NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR export TEST_DIRECTORY +export LOCAL_PATH PATH=bin:$PATH export PATH diff --git a/source3/script/tests/test_smbtorture_s3.sh b/source3/script/tests/test_smbtorture_s3.sh index 851e58a47c..1abf7b6d8f 100755 --- a/source3/script/tests/test_smbtorture_s3.sh +++ b/source3/script/tests/test_smbtorture_s3.sh @@ -54,7 +54,7 @@ for t in $tests; do fi start="" name="$t" - testit "$name" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" -l"$PREFIX_ABS"/tmp $ADDARGS $t || failed=`expr $failed + 1` + testit "$name" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1` done testok $0 $failed diff --git a/source3/script/tests/tests_all.sh b/source3/script/tests/tests_all.sh index cd0c6eb456..ccc5e06afb 100755 --- a/source3/script/tests/tests_all.sh +++ b/source3/script/tests/tests_all.sh @@ -7,14 +7,14 @@ local_s3() { smbtorture_s3() { echo "RUNNING TESTS smbtorture_s3" $SCRIPTDIR/test_smbtorture_s3.sh \ - //$SERVER_IP/tmp $USERNAME $PASSWORD "" \ + //$SERVER_IP/tmp $USERNAME $PASSWORD "" "-l $PREFIX_ABS/tmp" \ || failed=`expr $failed + $?` } smbtorture_s3_encrypted() { echo "RUNNING TESTS smbtorture_s3_encrypted" $SCRIPTDIR/test_smbtorture_s3.sh \ - //$SERVER_IP/tmp $USERNAME $PASSWORD "" "-e" \ + //$SERVER_IP/tmp $USERNAME $PASSWORD "" "-e" "-l $PREFIX_ABS/tmp" \ || failed=`expr $failed + $?` } |