summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestprogs/blackbox/subunit.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/testprogs/blackbox/subunit.sh b/testprogs/blackbox/subunit.sh
index b8e5b5b322..9b047a2d5d 100755
--- a/testprogs/blackbox/subunit.sh
+++ b/testprogs/blackbox/subunit.sh
@@ -84,6 +84,15 @@ testit_expect_failure () {
return $status
}
+testok () {
+ name=`basename $1`
+ shift
+ failed=$2
+ shift
+
+ exit $failed
+}
+
# work out the top level source directory
if [ -d source4 ]; then
SRCDIR="."