From d6cc0b4feaacf7514167cde0b3935f0c9b2c2d88 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 19 Jun 2015 20:52:44 +0000 Subject: conformtest: Fix pselect expectations. conformtest expected pselect for XOPEN2K and POSIX2008 (correctly), but not for XOPEN2K8 (wrongly). This patch fixes the data to expect it for XOPEN2K8 as well. (As for all such fixes based on failures seen from the tests, there is no guarantee that the data is fully correct for a particular standard after the fix; headers and data may well have matching bugs. So far I've only reviewed ISO, ISO99, ISO11 and POSIX data in detail, though I hope eventually to review the others.) Tested for x86_64 and x86. * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect. * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform): Remove variable. (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise. (test-xfail-XOPEN2K8/utmpx.h/conform). --- conform/Makefile | 3 --- conform/data/sys/select.h-data | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'conform') diff --git a/conform/Makefile b/conform/Makefile index 5db58375e7..7d0a3dd92e 100644 --- a/conform/Makefile +++ b/conform/Makefile @@ -237,12 +237,9 @@ test-xfail-XOPEN2K8/limits.h/conform = yes test-xfail-XOPEN2K8/math.h/conform = yes test-xfail-XOPEN2K8/signal.h/conform = yes test-xfail-XOPEN2K8/stdio.h/conform = yes -test-xfail-XOPEN2K8/sys/select.h/conform = yes -test-xfail-XOPEN2K8/sys/time.h/conform = yes test-xfail-XOPEN2K8/sys/wait.h/conform = yes test-xfail-XOPEN2K8/termios.h/conform = yes test-xfail-XOPEN2K8/tgmath.h/conform = yes -test-xfail-XOPEN2K8/utmpx.h/conform = yes conformtest-cc-flags = -I../include $(+sysdep-includes) $(sysincludes) -I.. $(conformtest-header-tests): $(objpfx)%/conform.out: \ diff --git a/conform/data/sys/select.h-data b/conform/data/sys/select.h-data index 00f037ac5c..d414ec4624 100644 --- a/conform/data/sys/select.h-data +++ b/conform/data/sys/select.h-data @@ -24,7 +24,7 @@ macro FD_ZERO macro FD_SETSIZE -#if defined XOPEN2K || defined POSIX2008 +#if defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8 function int pselect (int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*) #endif function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*) -- cgit v1.2.3