diff options
author | Andrew Bartlett <abartlet@samba.org> | 2018-03-22 13:15:34 +1300 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2018-03-23 02:32:08 +0100 |
commit | 8fd73b389177f0622c3a6935a986e2581f7f661e (patch) | |
tree | f0cab43d8879cc967a421dd3edc0e8f166d82c04 /testprogs | |
parent | 35ca6161f1f78d8f93cb2ec90083c037c0bfe88d (diff) | |
download | samba-8fd73b389177f0622c3a6935a986e2581f7f661e.tar.gz |
selftest: Align cleanup of tmpkpasswdscript with scripts that use it
Some scripts removed it without creating it and the others created it
and did not remove it.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_chgdcpass.sh | 2 | ||||
-rwxr-xr-x | testprogs/blackbox/test_kinit_mit.sh | 2 | ||||
-rwxr-xr-x | testprogs/blackbox/test_kinit_trusts_heimdal.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_chgdcpass.sh b/testprogs/blackbox/test_chgdcpass.sh index 3830cb4e31d..6ac4c882e32 100755 --- a/testprogs/blackbox/test_chgdcpass.sh +++ b/testprogs/blackbox/test_chgdcpass.sh @@ -110,5 +110,5 @@ test_smbclient "Test login with kerberos ccache with fresh kinit" 'ls' "$unc" -k rm -f $KRB5CCNAME -rm -f $PREFIX/tmpccache tmpccfile tmppassfile tmpuserpassfile tmpuserccache tmpkpasswdscript +rm -f $PREFIX/tmpccache tmpccfile tmppassfile tmpuserpassfile tmpuserccache exit $failed diff --git a/testprogs/blackbox/test_kinit_mit.sh b/testprogs/blackbox/test_kinit_mit.sh index 3e07281b8c7..d178ba4c710 100755 --- a/testprogs/blackbox/test_kinit_mit.sh +++ b/testprogs/blackbox/test_kinit_mit.sh @@ -306,5 +306,5 @@ $samba_kdestroy rm -f $KRB5CCNAME_PATH rm -f $PREFIX/tmpkinituserpassscript rm -f $PREFIX/tmpkinitscript - +rm -f $PREFIX/tmpkpasswdscript exit $failed diff --git a/testprogs/blackbox/test_kinit_trusts_heimdal.sh b/testprogs/blackbox/test_kinit_trusts_heimdal.sh index e67f77361a4..4a1c0f7f213 100755 --- a/testprogs/blackbox/test_kinit_trusts_heimdal.sh +++ b/testprogs/blackbox/test_kinit_trusts_heimdal.sh @@ -94,5 +94,5 @@ testit "wbinfo check outgoing trust pw" $VALGRIND $wbinfo --check-secret --domai test_smbclient "Test user login with the changed outgoing secret" 'ls' "$unc" -k yes -U$USERNAME@$REALM%$PASSWORD || failed=`expr $failed + 1` -rm -f $PREFIX/tmpccache tmpccfile tmppassfile tmpuserpassfile tmpuserccache tmpkpasswdscript +rm -f $PREFIX/tmpccache tmpccfile tmppassfile tmpuserpassfile tmpuserccache exit $failed |