diff options
author | Andreas König <a.koenig@mind.de> | 2001-12-29 22:42:37 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-29 20:22:57 +0000 |
commit | d1e4d418969ad3c5103f26f33d0abea5b1570935 (patch) | |
tree | a0d4611eb75d8f94e2d42291b944bf356edb8c70 /t/comp/script.t | |
parent | cb69f87a007debfba124ee7db6ef7f6a2ac42df7 (diff) | |
download | perl-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/comp/script.t')
-rwxr-xr-x | t/comp/script.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/script.t b/t/comp/script.t index d70b767478..2dbdaf2afc 100755 --- a/t/comp/script.t +++ b/t/comp/script.t @@ -16,7 +16,7 @@ if ($x eq "ok\n") {print "ok 1\n";} else {print "not ok 1\n";} open(try,">Comp.script") || (die "Can't open temp file."); print try 'print "ok\n";'; print try "\n"; -close try; +close try or die "Could not close: $!"; $x = `$Perl Comp.script`; |