summaryrefslogtreecommitdiff
path: root/lib/Test/Harness.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Test/Harness.pm')
-rw-r--r--lib/Test/Harness.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Test/Harness.pm b/lib/Test/Harness.pm
index 6979a11549..24e9148ff2 100644
--- a/lib/Test/Harness.pm
+++ b/lib/Test/Harness.pm
@@ -104,7 +104,8 @@ sub runtests {
}
$fh->close; # must close to reap child resource values
my $wstatus = $?;
- my $estatus = ($^O eq 'VMS'
+ my $estatus;
+ $estatus = ($^O eq 'VMS'
? eval 'use vmsish "status"; $estatus = $?'
: $wstatus >> 8);
if ($wstatus) {