diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-16 14:52:29 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-16 14:52:29 +0200 |
commit | 228f342b1f12accbf3c07e1d2a1c9a5459ed966b (patch) | |
tree | 407955fd80e91bf4403c08f9e2e6d2cb1642fe9e /testprogs/blackbox/test_kinit.sh | |
parent | 68b2d9372f8b0450eea7ac4601fc1315192d878f (diff) | |
download | samba-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-x | testprogs/blackbox/test_kinit.sh | 16 |
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" |