From 2bde54c9dc0e1776882f4e0fef5750296e848c5b Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 3 Feb 2019 12:25:20 +0000 Subject: t: Consistently remove temp directory before testing, not after When a test fails, it's useful to be able to inspect the output. Signed-off-by: Simon McVittie --- t/basewiki_brokenlinks.t | 1 - 1 file changed, 1 deletion(-) (limited to 't/basewiki_brokenlinks.t') diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t index f639d0dd8..6a86c4313 100755 --- a/t/basewiki_brokenlinks.t +++ b/t/basewiki_brokenlinks.t @@ -38,6 +38,5 @@ foreach my $plugin ("", "listdirectives") { ok(-e "t/tmp/out/style.css"); # linked to.. ok(! system("rm -rf t/tmp/out t/basewiki_brokenlinks/.ikiwiki")); } -ok(! system("rm -rf t/tmp")); done_testing(); -- cgit v1.2.3