mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
35ca6161f1
commit
8fd73b3891
@ -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
|
||||
|
@ -306,5 +306,5 @@ $samba_kdestroy
|
||||
rm -f $KRB5CCNAME_PATH
|
||||
rm -f $PREFIX/tmpkinituserpassscript
|
||||
rm -f $PREFIX/tmpkinitscript
|
||||
|
||||
rm -f $PREFIX/tmpkpasswdscript
|
||||
exit $failed
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user