s3:tests: use the blackbox subunit output formatter for the testparm_s3 test.
authorMichael Adam <obnox@samba.org>
Fri, 18 Feb 2011 23:32:06 +0000 (00:32 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 19 Feb 2011 11:23:24 +0000 (12:23 +0100)
With the old output, failures would go unnoticed by selftest.

source3/script/tests/test_testparm_s3.sh

index b9e4b810cf0a74569d7f55afb85796e9151c52d3..0fd1a57c2b670b538cc5facd23f03cb66e3e3d2a 100755 (executable)
@@ -9,8 +9,8 @@ TEMP_CONFFILE=${LOCAL_PATH}/smb.conf.tmp
 TESTPARM="$VALGRIND ${TESTPARM:-$BINDIR/testparm} --suppress-prompt --skip-logic-checks"
 
 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
-incdir=`dirname $0`
-. $incdir/test_functions.sh
+incdir=`dirname $0`/../../../testprogs/blackbox
+. $incdir/subunit.sh
 }
 
 failed=0