From 4e0f6e8c51a1578c6008613692eebbd26d0be737 Mon Sep 17 00:00:00 2001 From: Artur Bergman Date: Tue, 5 Feb 2002 11:20:21 +0000 Subject: 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 --- ext/POSIX/t/posix.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t index 49357a6641..3e00af5d14 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; -- cgit v1.2.1