commit 23a5296e9032a2413c56dda2365d6e05cb2e0978
parent 0a05ec8ac536c188a9c055570fd93130e7fbc580
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Sun, 28 Aug 2016 15:52:25 +0200
26-race-sbocheck: $logfile is a dir, so rmdir instead of unlink
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/26-race-sbocheck.t b/t/26-race-sbocheck.t
@@ -27,5 +27,5 @@ plan tests => 2;
like ($out, qr/\QUnable to open $logfile./, "sbocheck's print_output() gave correct output");
is ($exit, undef, "sbocheck's print_output() didn't exit");
- unlink $logfile;
+ rmdir $logfile;
}