summaryrefslogtreecommitdiff
path: root/t/comp/multiline.t
diff options
context:
space:
mode:
Diffstat (limited to 't/comp/multiline.t')
-rwxr-xr-xt/comp/multiline.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/multiline.t b/t/comp/multiline.t
index 1d238f95b3..634b06a7a8 100755
--- a/t/comp/multiline.t
+++ b/t/comp/multiline.t
@@ -35,6 +35,6 @@ if ($count == 3) {print "ok 3\n";} else {print "not ok 3\n";}
$_ = `cat Comp.try`;
if (/.*\n.*\n.*\n$/) {print "ok 4\n";} else {print "not ok 4\n";}
-`/bin/rm -f Comp.try`;
+unlink 'Comp.try' || `/bin/rm -f Comp.try`;
if ($_ eq $y) {print "ok 5\n";} else {print "not ok 5\n";}