summaryrefslogtreecommitdiff
path: root/perl/t/wa-keyring.t
diff options
context:
space:
mode:
Diffstat (limited to 'perl/t/wa-keyring.t')
-rwxr-xr-xperl/t/wa-keyring.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl/t/wa-keyring.t b/perl/t/wa-keyring.t
index eaae034..8d8e1fe 100755
--- a/perl/t/wa-keyring.t
+++ b/perl/t/wa-keyring.t
@@ -3,7 +3,7 @@
# Tests for the WebAuth keyring object implementation.
#
# Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2013
+# Copyright 2013, 2014
# The Board of Trustees of the Leland Stanford Junior University
#
# See LICENSE for licensing terms.
@@ -179,4 +179,6 @@ is ($object->destroy (@trace), 1, ' but destroying the object succeeds');
# Clean up.
$admin->destroy;
-unlink ('wallet-db');
+END {
+ unlink ('wallet-db');
+}