aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/client/full-t.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/client/full-t.in b/tests/client/full-t.in
index 4db0dbd..b73a375 100644
--- a/tests/client/full-t.in
+++ b/tests/client/full-t.in
@@ -3,7 +3,7 @@
# End-to-end tests for the wallet client.
#
# Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2008, 2010
+# Copyright 2008, 2010, 2014
# The Board of Trustees of the Leland Stanford Junior University
#
# See LICENSE for licensing terms.
@@ -188,8 +188,12 @@ SKIP: {
# All done.
remctld_stop;
$admin->destroy;
- unlink ('wallet-db', 'krb5cc_test', 'test-pid');
if (-d 'test-files') {
system ('rm', '-r', 'test-files');
}
}
+
+# Clean up the database and other test files at the end of the test.
+END {
+ unlink ('wallet-db', 'krb5cc_test', 'test-pid');
+}