Integrate 11778 into mainline.
Abhijit Menon-Sen [Fri, 31 Aug 2001 12:15:44 +0000 (12:15 +0000)]
p4raw-id: //depot/perl@11799

t/base/term.t

index 1d688b8..000bff1 100755 (executable)
@@ -40,7 +40,12 @@ if (($x | 1) == 101) {print "ok 5\n";} else {print "not ok 5\n";}
 
 # check <> pseudoliteral
 
-open(try, "/dev/null") || open(try,"Dev:Null") || open(try,"nla0:") || (die "Can't open /dev/null.");
+if ($^O eq 'MacOS') {
+       open(try,"Dev:Null") || (die "Can't open /dev/null.");
+} else {
+       open(try, "/dev/null") || open(try,"nla0:") || (die "Can't open /dev/null.");
+}
+
 if (<try> eq '') {
     print "ok 6\n";
 }