git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbfa5c6
)
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, 16 Feb 2011 11:56:40 +0000
(12:56 +0100)
testprogs/blackbox/subunit.sh
patch
|
blob
|
history
diff --git
a/testprogs/blackbox/subunit.sh
b/testprogs/blackbox/subunit.sh
index b8e5b5b322858483dbeeb6cdeb7eb1db2776d99a..9b047a2d5dfa51f47b7d0efef3d452d26c0da0cd 100755
(executable)
--- 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="."