conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 14 Oct 2014 17:00:11 +0000 (17:00 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 14 Oct 2014 17:00:11 +0000 (17:00 +0000)
commita75d3b0288357ddb5fa070404d623a709cffc295
tree39f0360e06eebbf4f7221c191efd2ed7a9d67f76
parentfda389c8f0311dd5786be91a7b54b9f935fcafa1
conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h.

Continuing the series of patches to clean up conformtest expectations
for "POSIX" (1995/6) based on review of the expectations against the
standard, this patch cleans up expectations for sys/utsname.h and
sys/wait.h.  Tested x86_64; a new XFAIL for sys/wait.h is added.

* conform/data/sys/utsname.h-data (*_t): Allow.
* conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
[POSIX] (WEXITED): Do not expect constant.
[POSIX] (WSTOPPED): Likewise.
[POSIX] (WNOHANG): Likewise.
[POSIX] (WNOWAIT): Likewise.
[POSIX] (siginfo_t): Do not expect type or elements.
[POSIX] (pid_t): Do not expect type.
[POSIX] (signal.h): Do not allow header.
[POSIX] (sys/resource.h): Likewise.
[POSIX] (si_*): Do not allow pattern.
[POSIX] (W*): Likewise.
[POSIX] (P_*): Likewise.
[POSIX] (BUS_*): Likewise.
[POSIX] (CLD_*): Likewise.
[POSIX] (FPE_*): Likewise.
[POSIX] (ILL_*): Likewise.
[POSIX] (POLL_*): Likewise.
[POSIX] (SEGV_*): Likewise.
[POSIX] (SI_*): Likewise.
[POSIX] (TRAP_*): Likewise.
* conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
variable.
ChangeLog
conform/Makefile
conform/data/sys/utsname.h-data
conform/data/sys/wait.h-data