diff options
Diffstat (limited to 't/op/anonsub.t')
-rw-r--r-- | t/op/anonsub.t | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/t/op/anonsub.t b/t/op/anonsub.t index 970440be94..6b17aa067a 100644 --- a/t/op/anonsub.t +++ b/t/op/anonsub.t @@ -8,7 +8,6 @@ chdir 't' if -d 't'; @INC = '../lib'; $Is_VMS = $^O eq 'VMS'; $Is_MSWin32 = $^O eq 'MSWin32'; -$Is_MacOS = $^O eq 'MacOS'; $Is_NetWare = $^O eq 'NetWare'; $ENV{PERL5LIB} = "../lib" unless $Is_VMS; @@ -35,11 +34,9 @@ for (@prgs){ `$^X "-I[-.lib]" $switch $tmpfile 2>&1` : $Is_MSWin32 ? `.\\perl -I../lib $switch $tmpfile 2>&1` : - $Is_MacOS ? - `$^X -I::lib $switch $tmpfile` : - $Is_NetWare ? - `perl -I../lib $switch $tmpfile 2>&1` : - `./perl $switch $tmpfile 2>&1`; + $Is_NetWare ? + `perl -I../lib $switch $tmpfile 2>&1` : + `./perl $switch $tmpfile 2>&1`; my $status = $?; $results =~ s/\n+$//; # allow expected output to be written as if $prog is on STDIN |