diff options
author | Simon McVittie <smcv@debian.org> | 2019-02-03 12:25:20 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2019-02-03 12:34:46 +0000 |
commit | 2bde54c9dc0e1776882f4e0fef5750296e848c5b (patch) | |
tree | 8f783bae015e5b27b38e79fcf28e4d0a458a71e3 /t/conflicts.t | |
parent | 3fe5d0acbfcb42d8c3898672db8b9b5cb4f6cec8 (diff) | |
download | ikiwiki-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/conflicts.t')
-rwxr-xr-x | t/conflicts.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/conflicts.t b/t/conflicts.t index 2c2761efb..ef183c6b6 100755 --- a/t/conflicts.t +++ b/t/conflicts.t @@ -3,7 +3,7 @@ use warnings; use strict; use Cwd qw(getcwd); -use Test::More tests => 106; +use Test::More; my $installed = $ENV{INSTALLED_TESTS}; @@ -143,5 +143,4 @@ ok(! system("mkdir -p $srcdir/foo")); ok(! system("touch $srcdir/foo/index.html")); setupiki("rawhtml file rendered same as existing page in setup"); -# cleanup -ok(! system("rm -rf t/tmp")); +done_testing; |