git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
testprogs/blackbox/subunit.sh: initialize failed to 0
[samba.git]
/
testprogs
/
blackbox
/
subunit.sh
diff --git
a/testprogs/blackbox/subunit.sh
b/testprogs/blackbox/subunit.sh
index e16aee76caa7aaa21f3980768485a2f22985348c..990bee57a6290590ee2f3b1e7c503b9e15be38ab 100755
(executable)
--- 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