diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-02 13:59:48 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-02 13:59:48 +0200 |
commit | 688f830141dede6c2a3d898fa17ef6b77a67fe42 (patch) | |
tree | f460239f06e12c749c3efb19af35b14439994f74 | |
parent | 51bfb8d7421181815a440385eeac37b974340d0c (diff) |
test/simplestore.t: Unlink the test file when done
-rwxr-xr-x | test/simplestore.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/simplestore.t b/test/simplestore.t index bbeea0d..9c16f84 100755 --- a/test/simplestore.t +++ b/test/simplestore.t @@ -2,7 +2,7 @@ use strict; use warnings; use Test::More tests => 7; -my $testfile = "/tmp/envstore-test-$$"; +my $testfile = "/tmp/simplestore-test-$$"; my $hash; @@ -23,3 +23,5 @@ is($hash->{dude}, "dudette\nfoo", 'load: preserve hash keys'); $hash = {foo => "moose\nbaz"}; $hash = load($testfile, $hash); is($hash->{foo}, "bar\nbar", 'load: overwrite conflicting hash keys'); + +unlink($testfile); |