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

index 0c94871ba5ea721a392b892b4a7b9f2b783923f3..de867c959ebd439a0de24842d7ea994793b1e2e2 100755 (executable)
@@ -10,8 +10,8 @@ exit 1;
 fi
 
 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
-incdir=`dirname $0`
-. $incdir/test_functions.sh
+incdir=`dirname $0`/../../../testprogs/blackbox
+. $incdir/subunit.sh
 }
 
 failed=0