This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
run/exit.t busted on windows
authorGurusamy Sarathy <gsar@cpan.org>
Mon, 9 Jul 2001 04:36:30 +0000 (04:36 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Mon, 9 Jul 2001 04:36:30 +0000 (04:36 +0000)
p4raw-id: //depot/perl@11231

t/run/exit.t

index 828b832..20c2c49 100644 (file)
@@ -8,8 +8,8 @@ BEGIN {
     @INC = '../lib';
 }
 
-# VMS needs -e "...", most everything else works better with '
-my $quote = $^O eq 'VMS' ? q{"} : q{'};
+# VMS and Windows need -e "...", most everything else works better with '
+my $quote = $^O =~ /^(VMS|MSWin\d+)$/ ? q{"} : q{'};
 
 # Run some code, return its wait status.
 sub run {