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

index d501311b14f632615b350733351240cb0539cb33..a63bcba794a9829e5268b42a5734a30329676ef1 100755 (executable)
@@ -15,8 +15,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
 }
 
 OLDIFS=$IFS;