summaryrefslogtreecommitdiff
path: root/lib/subs.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subs.t')
-rw-r--r--lib/subs.t8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/subs.t b/lib/subs.t
index 2f684b41ed..a98dd1d69e 100644
--- a/lib/subs.t
+++ b/lib/subs.t
@@ -47,11 +47,13 @@ for (@prgs){
print TEST $prog,"\n";
close TEST;
my $results = $Is_VMS ?
- `./perl $switch $tmpfile 2>&1` :
+ `./perl $switch $tmpfile 2>&1` :
$Is_MSWin32 ?
- `.\\perl -I../lib $switch $tmpfile 2>&1` :
+ `.\\perl -I../lib $switch $tmpfile 2>&1` :
$Is_NetWare ?
- `perl -I../lib $switch $tmpfile 2>&1` :
+ `perl -I../lib $switch $tmpfile 2>&1` :
+ $Is_MacOS ?
+ `$^X -I::lib -MMac::err=unix $switch $tmpfile` :
`./perl $switch $tmpfile 2>&1`;
my $status = $?;
$results =~ s/\n+$//;