git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
698683c
)
testprogs/blackbox/subunit: add testok() for easier integration of s3 tests.
author
Michael Adam
<obnox@samba.org>
Tue, 15 Feb 2011 15:03:58 +0000
(16:03 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Mar 2011 11:53:57 +0000
(12:53 +0100)
testprogs/blackbox/subunit.sh
patch
|
blob
|
history
diff --git
a/testprogs/blackbox/subunit.sh
b/testprogs/blackbox/subunit.sh
index 990bee57a6290590ee2f3b1e7c503b9e15be38ab..e089793c2060cedd5badc1aca6e260921c446933 100755
(executable)
--- a/
testprogs/blackbox/subunit.sh
+++ b/
testprogs/blackbox/subunit.sh
@@
-83,3
+83,13
@@
testit_expect_failure () {
fi
return $status
}
+
+testok () {
+ name=`basename $1`
+ shift
+ failed=$2
+ shift
+
+ exit $failed
+}
+