From: Joey Hess Date: Mon, 24 Jan 2011 23:58:51 +0000 (-0400) Subject: clean up t/tmp X-Git-Tag: 3.20110225~132 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/b4d2910dda4124031d47c2a51a98536a78cb42e5?ds=sidebyside;hp=6e96b5921a6423b03bd974de1cb2d17e6c4a8ecd clean up t/tmp --- 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;