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/find_src_files.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/find_src_files.t')
-rwxr-xr-x | t/find_src_files.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/t/find_src_files.t b/t/find_src_files.t index a3742db75..9dbf6eafe 100755 --- a/t/find_src_files.t +++ b/t/find_src_files.t @@ -1,7 +1,7 @@ #!/usr/bin/perl use warnings; use strict; -use Test::More tests => 20; +use Test::More; BEGIN { use_ok("IkiWiki"); } BEGIN { use_ok("IkiWiki::Render"); } @@ -91,7 +91,4 @@ test_src_files(\@list, "deep dir symlink in srcdir skipped"); system("ln -sf /etc/ $config{underlaydir}/ikiwiki/symdir"); test_src_files(\@list, "deep dir symlink in underlaydir skipped"); - - - -cleanup(); +done_testing; |