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/wrapper-environ.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/wrapper-environ.t')
-rwxr-xr-x | t/wrapper-environ.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/wrapper-environ.t b/t/wrapper-environ.t index d6d34b9d9..6254816fa 100755 --- a/t/wrapper-environ.t +++ b/t/wrapper-environ.t @@ -29,6 +29,8 @@ else { --templatedir=templates)); } +ok(! system("rm -rf t/tmp")); + writefile("test.setup", "t/tmp", <<EOF # IkiWiki::Setup::Yaml - YAML formatted setup file wikiname: this is the name of my wiki |