summaryrefslogtreecommitdiff
path: root/t/op/anonsub.t
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>2001-12-29 22:42:37 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-29 20:22:57 +0000
commitd1e4d418969ad3c5103f26f33d0abea5b1570935 (patch)
treea0d4611eb75d8f94e2d42291b944bf356edb8c70 /t/op/anonsub.t
parentcb69f87a007debfba124ee7db6ef7f6a2ac42df7 (diff)
downloadperl-d1e4d418969ad3c5103f26f33d0abea5b1570935.tar.gz
cleaner close on tests, take 2
Message-ID: <m33d1tvjuq.fsf@anima.de> (except for the three DB_File patch fragments) p4raw-id: //depot/perl@13940
Diffstat (limited to 't/op/anonsub.t')
-rwxr-xr-xt/op/anonsub.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/anonsub.t b/t/op/anonsub.t
index fef40f935a..8eca75b811 100755
--- a/t/op/anonsub.t
+++ b/t/op/anonsub.t
@@ -26,7 +26,7 @@ for (@prgs){
my($prog,$expected) = split(/\nEXPECT\n/, $_);
open TEST, ">$tmpfile";
print TEST "$prog\n";
- close TEST;
+ close TEST or die "Could not close: $!";
my $results = $Is_VMS ?
`MCR $^X "-I[-.lib]" $switch $tmpfile 2>&1` :
$Is_MSWin32 ?