From: Artur Bergman Date: Tue, 5 Feb 2002 11:20:21 +0000 (+0000) Subject: Change to check if _POSIX_OPEN_MAX is 16 or 20, however the entire test is kind of... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e0f6e8c51a1578c6008613692eebbd26d0be737;p=p5sagit%2Fp5-mst-13.2.git Change to check if _POSIX_OPEN_MAX is 16 or 20, however the entire test is kind of questionable since we are testing POSIX compliance... p4raw-id: //depot/perl@14558 --- diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t index 49357a6..3e00af5 100644 --- a/ext/POSIX/t/posix.t +++ b/ext/POSIX/t/posix.t @@ -91,7 +91,8 @@ SKIP: { skip("_POSIX_OPEN_MAX is inaccurate on MPE", 1) if $Is_MPE; skip("_POSIX_OPEN_MAX undefined ($fds[1])", 1) unless &_POSIX_OPEN_MAX; - ok( &_POSIX_OPEN_MAX > $fds[1], '_POSIX_OPEN_MAX' ); + ok( &_POSIX_OPEN_MAX == 16 || &_POSIX_OPEN_MAX == 20, "The two allowed values according to susv2 and susv3" ); + } my $pat;