summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-24 19:58:51 -0400
committerJoey Hess <joey@kitenet.net>2011-01-24 19:58:51 -0400
commitb4d2910dda4124031d47c2a51a98536a78cb42e5 (patch)
tree9a5c93270e5fc5f4a8313dc73daf2027f4e82c49
parent6e96b5921a6423b03bd974de1cb2d17e6c4a8ecd (diff)
clean up t/tmp
-rwxr-xr-xt/tag.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/tag.t b/t/tag.t
index bd15c4e73..5b0d9c824 100755
--- a/t/tag.t
+++ b/t/tag.t
@@ -3,7 +3,7 @@ package IkiWiki;
use warnings;
use strict;
-use Test::More tests => 21;
+use Test::More tests => 22;
BEGIN { use_ok("IkiWiki"); }
BEGIN { use_ok("IkiWiki::Render"); }
@@ -79,4 +79,8 @@ IkiWiki::gen_autofile("tags/primes.mdwn", \%pages, \@del);
is_deeply(\%pages, {});
is_deeply(\@del, ['tags/primes.mdwn']);
+
+# cleanup
+ok(! system("rm -rf t/tmp"));
+
1;