From: Jarkko Hietaniemi Date: Fri, 14 Mar 2003 10:42:33 +0000 (+0000) Subject: Rework the @Config{/sig.*/} tests. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b25be8c8e60818c456365b065e4f7d7801d8c147;p=p5sagit%2Fp5-mst-13.2.git Rework the @Config{/sig.*/} tests. p4raw-id: //depot/perl@18977 --- diff --git a/lib/Config.t b/lib/Config.t index fc75d4c..6e4b47c 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");