summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_kinit.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_kinit.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_kinit.sh')
-rwxr-xr-xtestprogs/blackbox/test_kinit.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/testprogs/blackbox/test_kinit.sh b/testprogs/blackbox/test_kinit.sh
index 29582055ee..db4b65f327 100755
--- a/testprogs/blackbox/test_kinit.sh
+++ b/testprogs/blackbox/test_kinit.sh
@@ -25,21 +25,7 @@ samba4kinit=$samba4bindir/samba4kinit
net=$samba4bindir/net
enableaccount="$samba4bindir/smbpython `dirname $0`/../../source/setup/enableaccount"
-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
test_smbclient() {
name="$1"