conformtest: Correct some unistd.h expectations for XPG3, XPG4.
commit7f8843c92a6b28f8184ed13705a8de54206f759e
authorJoseph Myers <joseph@codesourcery.com>
Thu, 12 May 2016 17:39:04 +0000 (12 17:39 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 12 May 2016 17:39:04 +0000 (12 17:39 +0000)
treea4e6aa1040d7dfb0d44231c037fc8ee847e82e4c
parent612fe4327577f9afaf6f45b400a737683eef9d0c
conformtest: Correct some unistd.h expectations for XPG3, XPG4.

The conformtest tests of unistd.h fail for XPG3 because of various
expectations that are incorrect for XPG3.  This patch corrects those
bogus expectations, and one bogus expectation for XPG4.  (This is not
based on a full review of the standards so there may well still be
other bugs in the expectations for this header.)

Tested for x86_64 and x86.

* conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
(F_ULOCK): Likewise.
(F_TEST): Likewise.
(F_TLOCK): Likewise.
(useconds_t): Likewise.
(intptr_t): Do not expect for [XPG3] or [XPG4].
(brk): Do not expect for [XPG3]
(fchown): Likewise.
(fchdir): Likewise.
(ftruncate): Likewise.
(getdtablesize): Likewise.
(gethostid): Likewise.
(getpagesize): Likewise.
(getpgid): Likewise.
(getsid): Likewise.
(getwd): Likewise.
(lchown): Likewise.
(lockf): Likewise.
(readlink): Likewise.
(sbrk): Likewise.
(setpgrp): Likewise.
(setregid): Likewise.
(setreuid): Likewise.
(symlink): Likewise.
(sync): Likewise.
(truncate): Likewise.
(ualarm): Likewise.
(usleep): Likewise.
(vfork): Likewise.
* conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
variable.
ChangeLog
conform/Makefile
conform/data/unistd.h-data