summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/subunit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/testprogs/blackbox/subunit.sh b/testprogs/blackbox/subunit.sh
index e16aee76ca..990bee57a6 100755
--- a/testprogs/blackbox/subunit.sh
+++ b/testprogs/blackbox/subunit.sh
@@ -29,6 +29,9 @@ subunit_pass_test () {
echo "success: $1"
}
+# This is just a hack as we have some broken scripts
+# which use "exit $failed", without initializing failed.
+failed=0
subunit_fail_test () {
# emit the current protocol fail-marker for test $1, and emit stdin as