about summary refs log tree commit diff
path: root/conform/data/sys/utsname.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-10-14 17:00:11 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-10-14 17:00:11 +0000
commita75d3b0288357ddb5fa070404d623a709cffc295 (patch)
tree39f0360e06eebbf4f7221c191efd2ed7a9d67f76 /conform/data/sys/utsname.h-data
parentfda389c8f0311dd5786be91a7b54b9f935fcafa1 (diff)
downloadglibc-a75d3b0288357ddb5fa070404d623a709cffc295.tar.gz
glibc-a75d3b0288357ddb5fa070404d623a709cffc295.tar.xz
glibc-a75d3b0288357ddb5fa070404d623a709cffc295.zip
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.
Diffstat (limited to 'conform/data/sys/utsname.h-data')
-rw-r--r--conform/data/sys/utsname.h-data1
1 files changed, 1 insertions, 0 deletions
diff --git a/conform/data/sys/utsname.h-data b/conform/data/sys/utsname.h-data
index 3564627394..82f7f397ca 100644
--- a/conform/data/sys/utsname.h-data
+++ b/conform/data/sys/utsname.h-data
@@ -8,4 +8,5 @@ element {struct utsname} char version []
 element {struct utsname} char machine []
 
 function int uname (struct utsname *)
+allow *_t
 #endif