From 23a5296e9032a2413c56dda2365d6e05cb2e0978 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sun, 28 Aug 2016 15:52:25 +0200 Subject: 26-race-sbocheck: $logfile is a dir, so rmdir instead of unlink --- t/26-race-sbocheck.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/26-race-sbocheck.t b/t/26-race-sbocheck.t index 39bc312..d9272ec 100755 --- 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; } -- cgit v1.2.3