diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-30 13:57:24 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-30 19:48:00 +0100 |
commit | c0fdc71ecdf437c978ade36603f0280afb1addb5 (patch) | |
tree | 3b499fa3fd5a97a802f4a15ba37df40bbe4d6b8d /source3/script/tests/test_smbtorture_s3.sh | |
parent | 50db8ede23dd9bf28a4f329edebb9105be215d3e (diff) | |
download | samba-c0fdc71ecdf437c978ade36603f0280afb1addb5.tar.gz samba-c0fdc71ecdf437c978ade36603f0280afb1addb5.tar.bz2 samba-c0fdc71ecdf437c978ade36603f0280afb1addb5.zip |
s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.
metze
Diffstat (limited to 'source3/script/tests/test_smbtorture_s3.sh')
-rwxr-xr-x | source3/script/tests/test_smbtorture_s3.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/script/tests/test_smbtorture_s3.sh b/source3/script/tests/test_smbtorture_s3.sh index 2ec20dc6ac..842277b357 100755 --- a/source3/script/tests/test_smbtorture_s3.sh +++ b/source3/script/tests/test_smbtorture_s3.sh @@ -16,8 +16,10 @@ start="$4" shift 4 ADDARGS="$*" +test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && { incdir=`dirname $0` . $incdir/test_functions.sh +} tests="FDPASS LOCK1 LOCK2 LOCK3 LOCK4 LOCK5 LOCK6 LOCK7" #tests="$tests UNLINK BROWSE ATTR TRANS2 MAXFID TORTURE " |