From 9f57e65c93ed5ef2996566c593881a4197bd0096 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 27 Apr 2016 14:03:14 +0000 Subject: conformtest: Correct some signal.h expectations for XOPEN2K. The conformtest expectations for signal.h have various declarations that are expected for POSIX (1996) and all later standards, except, wrongly, for XOPEN2K. This shows up as failures of tests for two other headers, which are allowed to make visible symbols from signal.h, because of an incorrect namespace failure for sigval (required in signal.h in XOPEN2K, so should be allowed for those other headers); signal.h tests for various standards fail anyway because of other problems in the header. This patch fixes the incorrect expectations and removes the two XFAILs that this fixes. Tested for x86_64 and x86. * conform/data/signal.h-data (union sigval): Expect also if [XOPEN2K]. (struct sigevent): Likewise. (SIGEV_NONE): Likewise. (SIGEV_SIGNAL): Likewise. (SIGEV_THREAD): Likewise. (SIGRTMIN): Likewise. (SIGRTMAX): Likewise. * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove variable. (test-xfail-XOPEN2K/mqueue.h/conform): Likewise. --- conform/data/signal.h-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conform/data/signal.h-data') diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data index 7584865f12..6fca921492 100644 --- a/conform/data/signal.h-data +++ b/conform/data/signal.h-data @@ -33,7 +33,7 @@ element {struct timespec} __time_t tv_sec element {struct timespec} long tv_nsec #endif -#if defined POSIX || defined UNIX98 || defined XOPEN2K8 || defined POSIX2008 +#if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008 element {union sigval} int sival_int element {union sigval} {void*} sival_ptr -- cgit v1.2.1