summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-21 20:25:31 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-21 20:25:31 -0800
commit4e67a916db978cb515fa174921d78b22d533fab3 (patch)
tree8aafdebc375d13c91eba777bc4f867f733d97a55
parent0d57013b4ef790e0b428eb41645199434cce2ecd (diff)
Clean up krb5.conf in the client/basic test if skipping
The test created krb5.conf first thing, but didn't delete it if skipping all of the tests.
-rw-r--r--tests/client/basic-t.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/client/basic-t.in b/tests/client/basic-t.in
index 1ae3a70..86e24d5 100644
--- a/tests/client/basic-t.in
+++ b/tests/client/basic-t.in
@@ -46,8 +46,10 @@ fi
# Test setup.
kerberos_setup
if [ $? != 0 ] ; then
+ rm krb5.conf
skip_all 'Kerberos tests not configured'
elif [ -z '@REMCTLD@' ] ; then
+ rm krb5.conf
skip_all 'No remctld found'
else
plan 36