s3:tests: include subunit.sh instead of test_functions.sh in test_smbtorture_s3.sh
authorMichael Adam <obnox@samba.org>
Sat, 19 Feb 2011 00:14:54 +0000 (01:14 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 19 Feb 2011 11:23:24 +0000 (12:23 +0100)
It would actually not be necessary at all to include a script providing
testit() and so on, since this script snippet is currently only sourced
in tests.sh to plan the included test.

source3/script/tests/test_smbtorture_s3.sh

index 77ffc0c61a8c415098addb062ab49c797bb40dd3..c9466e921d8de2767841e83ca2e63178d4e15a78 100755 (executable)
@@ -17,8 +17,8 @@ shift 4
 ADDARGS="$*"
 
 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
-incdir=`dirname $0`
-. $incdir/test_functions.sh
+incdir=`dirname $0`/../../../testprogs/blackbox
+. $incdir/subunit.sh
 }
 
 SMB_CONF_PATH="$CONFFILE"