summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-14 10:42:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-14 10:42:33 +0000
commitb25be8c8e60818c456365b065e4f7d7801d8c147 (patch)
tree150228e1975ece6ab088d3cba7ed1a348259464b /lib
parent936f6df182ab777becd0ff17bf370a182bd1359d (diff)
downloadperl-b25be8c8e60818c456365b065e4f7d7801d8c147.tar.gz
Rework the @Config{/sig.*/} tests.
p4raw-id: //depot/perl@18977
Diffstat (limited to 'lib')
-rw-r--r--lib/Config.t7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Config.t b/lib/Config.t
index fc75d4c553..6e4b47cfa8 100644
--- a/lib/Config.t
+++ b/lib/Config.t
@@ -122,8 +122,5 @@ ok( exists $Config{d_fork}, "still d_fork");
# Signal-related variables
# (this is actually a regression test for Configure.)
-ok((split / /, $Config{sig_num}) == $Config{sig_size}+1, "sig_size");
-SKIP : {
- if ($^O eq 'hpux') { skip "HP-UX has SIGRTM(IN|AX) == -1" }
- like($Config{sig_num}, qr/^[ \d]+\z/, "sig_num has only positive numbers");
-}
+is($Config{sig_num_init} =~ tr/,/,/, $Config{sig_size}, "sig_num_init size");
+is($Config{sig_name_init} =~ tr/,/,/, $Config{sig_size}, "sig_name_init size");