X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ce9935e078582f01b05cad6db77c0a8312bee15b..2986a63f7e5:/t/op/rand.t diff --git a/t/op/rand.t b/t/op/rand.t index 2f02d34..e365e59 100755 --- a/t/op/rand.t +++ b/t/op/rand.t @@ -17,7 +17,7 @@ BEGIN { chdir "t" if -d "t"; - @INC = "../lib" if -d "../lib"; + @INC = '../lib'; } use strict; @@ -342,6 +342,7 @@ AUTOSRAND: for (1..5) { my $PERL = (($^O eq 'VMS') ? "MCR $^X" : ($^O eq 'MSWin32') ? '.\perl' + : ($^O eq 'NetWare') ? 'perl' : './perl'); $pid = open PERL, qq[$PERL -e "print rand"|]; die "Couldn't pipe from perl: $!" unless defined $pid;