diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-28 15:52:25 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-08-28 15:52:25 +0200 |
commit | 23a5296e9032a2413c56dda2365d6e05cb2e0978 (patch) | |
tree | 781e5c336faf451485c2828d6528dde9d96b1ecf /t | |
parent | 0a05ec8ac536c188a9c055570fd93130e7fbc580 (diff) | |
download | sbotools-23a5296e9032a2413c56dda2365d6e05cb2e0978.tar.xz |
26-race-sbocheck: $logfile is a dir, so rmdir instead of unlink
Diffstat (limited to 't')
-rwxr-xr-x | t/26-race-sbocheck.t | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |