aboutsummaryrefslogtreecommitdiff
path: root/t/basewiki_brokenlinks.t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-02-03 12:25:20 +0000
committerSimon McVittie <smcv@debian.org>2019-02-03 12:34:46 +0000
commit2bde54c9dc0e1776882f4e0fef5750296e848c5b (patch)
tree8f783bae015e5b27b38e79fcf28e4d0a458a71e3 /t/basewiki_brokenlinks.t
parent3fe5d0acbfcb42d8c3898672db8b9b5cb4f6cec8 (diff)
downloadikiwiki-2bde54c9dc0e1776882f4e0fef5750296e848c5b.tar
ikiwiki-2bde54c9dc0e1776882f4e0fef5750296e848c5b.tar.gz
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 <smcv@debian.org>
Diffstat (limited to 't/basewiki_brokenlinks.t')
-rwxr-xr-xt/basewiki_brokenlinks.t1
1 files changed, 0 insertions, 1 deletions
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();