summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/t/comp/cpp.t
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/t/comp/cpp.t')
-rw-r--r--gnu/usr.bin/perl/t/comp/cpp.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/t/comp/cpp.t b/gnu/usr.bin/perl/t/comp/cpp.t
index e62d7b82eec..b9693d060c8 100644
--- a/gnu/usr.bin/perl/t/comp/cpp.t
+++ b/gnu/usr.bin/perl/t/comp/cpp.t
@@ -1,6 +1,6 @@
#!./perl
-# $RCSfile: cpp.t,v $$Revision: 1.1 $$Date: 1996/08/19 10:13:11 $
+# $RCSfile: cpp.t,v $$Revision: 1.2 $$Date: 1997/11/30 08:00:03 $
BEGIN {
chdir 't' if -d 't';
@@ -8,8 +8,9 @@ BEGIN {
}
use Config;
-if ( ($Config{'cppstdin'} =~ /\bcppstdin\b/) and
- ( ! -x $Config{'scriptdir'} . "/cppstdin") ) {
+if ( $^O eq 'MSWin32' or
+ ($Config{'cppstdin'} =~ /\bcppstdin\b/) and
+ ( ! -x $Config{'binexp'} . "/cppstdin") ) {
print "1..0\n";
exit; # Cannot test till after install, alas.
}