summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_wbinfo.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-16 14:52:29 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-16 14:52:29 +0200
commit228f342b1f12accbf3c07e1d2a1c9a5459ed966b (patch)
tree407955fd80e91bf4403c08f9e2e6d2cb1642fe9e /testprogs/blackbox/test_wbinfo.sh
parent68b2d9372f8b0450eea7ac4601fc1315192d878f (diff)
downloadsamba-228f342b1f12accbf3c07e1d2a1c9a5459ed966b.tar.gz
samba-228f342b1f12accbf3c07e1d2a1c9a5459ed966b.tar.bz2
samba-228f342b1f12accbf3c07e1d2a1c9a5459ed966b.zip
Use the subunit shell library.
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)
Diffstat (limited to 'testprogs/blackbox/test_wbinfo.sh')
-rwxr-xr-xtestprogs/blackbox/test_wbinfo.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/testprogs/blackbox/test_wbinfo.sh b/testprogs/blackbox/test_wbinfo.sh
index b309b302dd..d993ed2ca7 100755
--- a/testprogs/blackbox/test_wbinfo.sh
+++ b/testprogs/blackbox/test_wbinfo.sh
@@ -17,20 +17,7 @@ failed=0
samba4bindir=`dirname $0`/../../source/bin
wbinfo=$samba4bindir/wbinfo
-testit() {
- name="$1"
- shift
- cmdline="$*"
- echo "test: $name"
- $cmdline
- status=$?
- if [ x$status = x0 ]; then
- echo "success: $name"
- else
- echo "failure: $name"
- fi
- return $status
-}
+. `dirname $0`/subunit.sh
testfail() {
name="$1"