summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-22 10:10:36 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-22 10:10:36 +0000
commitd2a0188286383355aaa13e586da8618f82242215 (patch)
treef63be75ab721500612da0df6c14656695c81dcd1 /t
parenta104f515e1396d6efe6b0936f76a68f8852f5b49 (diff)
downloadperl-d2a0188286383355aaa13e586da8618f82242215.tar.gz
dos-djgpp updates (from Laszlo Molnar <laszlo.molnar@eth.ericsson.se>)
p4raw-id: //depot/perl@5196
Diffstat (limited to 't')
-rwxr-xr-xt/lib/glob-basic.t6
-rwxr-xr-xt/lib/glob-case.t5
-rwxr-xr-xt/lib/glob-global.t6
-rwxr-xr-xt/lib/glob-taint.t5
-rw-r--r--t/lib/io_unix.t1
5 files changed, 21 insertions, 2 deletions
diff --git a/t/lib/glob-basic.t b/t/lib/glob-basic.t
index dde87730c0..a2479ac8c1 100755
--- a/t/lib/glob-basic.t
+++ b/t/lib/glob-basic.t
@@ -3,7 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
-
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) {
+ print "1..0\n";
+ exit 0;
+ }
print "1..9\n";
}
END {
diff --git a/t/lib/glob-case.t b/t/lib/glob-case.t
index 2e65a0fc8b..32719b2d9a 100755
--- a/t/lib/glob-case.t
+++ b/t/lib/glob-case.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) {
+ print "1..0\n";
+ exit 0;
+ }
print "1..7\n";
}
END {
diff --git a/t/lib/glob-global.t b/t/lib/glob-global.t
index 44d7e8b5c3..9d273bd1ed 100755
--- a/t/lib/glob-global.t
+++ b/t/lib/glob-global.t
@@ -3,7 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
-
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) {
+ print "1..0\n";
+ exit 0;
+ }
print "1..10\n";
}
END {
diff --git a/t/lib/glob-taint.t b/t/lib/glob-taint.t
index 1b9c053bf7..a8dc213853 100755
--- a/t/lib/glob-taint.t
+++ b/t/lib/glob-taint.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
unshift @INC, '../lib';
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) {
+ print "1..0\n";
+ exit 0;
+ }
print "1..2\n";
}
END {
diff --git a/t/lib/io_unix.t b/t/lib/io_unix.t
index 0e559e0d90..62569a5844 100644
--- a/t/lib/io_unix.t
+++ b/t/lib/io_unix.t
@@ -8,6 +8,7 @@ BEGIN {
# ``use IO::Socket'' executes too early below in the os2 block
if ($^O eq 'dos') {
print "1..0 # Skip: no fork\n";
+ exit 0;
}
}