conformtest: Correct some limits.h expectations for XPG3, XPG4.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 23 May 2016 15:25:34 +0000 (15:25 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 23 May 2016 15:25:34 +0000 (15:25 +0000)
commitd912d3a1198dfa9acd59cb5a07e5ed27c910cb7f
treee97e6b110a10941c5b787b595067c88d006afdac
parentf9b437d5efce93800b51ad2a437c8b1c9616bf80
conformtest: Correct some limits.h expectations for XPG3, XPG4.

The conform/ test of limits.h namespace for XPG3 was failing because
of NL_* and NZERO defines.  Those symbols are EX-shaded, not
UX-shaded, so it's correct for them to be defined for XPG3; this patch
corrects the expectations accordingly.  (Actually it looks like they
should not be listed as optional for these standards, but that's
another matter.)

Tested for x86_64 and x86.

* conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
[XPG3 || XPG4].
(NL_ARGMAX): Also expect for [XPG3].
(NL_LANGMAX): Likewise.
(NL_MSGMAX): Likewise.
(NL_NMAX): Likewise.
(NL_SETMAX): Likewise.
(NL_TEXTMAX): Likewise.
(NZERO): Likewise.
(TMP_MAX): Likewise.
* conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
variable.
ChangeLog
conform/Makefile
conform/data/limits.h-data