s3:tests: include subunit.sh instead of test_functions.sh in test_posix_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_posix_s3.sh

index 8cdb1e26f41a6f526eb46f8941e4165569c44b6b..904f9f1f0939d5785b904969d0467547554df1d2 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
 }
 
 base="base.attr base.charset base.chkpath base.defer_open base.delaywrite base.delete"