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/wrapper-environ.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/wrapper-environ.t') 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", <