summary refs log tree commit diff
path: root/conform/data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-04-28 17:19:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-04-28 17:19:53 +0000
commit022d239b5d20df6c0b1ee05d527b94b671a746fb (patch)
tree796e385840b7af7e3daef37d70cee8b9e62565dd /conform/data
parent10b8108aec36d8a2bff577c8b1d45ab9fe3bba87 (diff)
downloadglibc-022d239b5d20df6c0b1ee05d527b94b671a746fb.tar.gz
glibc-022d239b5d20df6c0b1ee05d527b94b671a746fb.tar.xz
glibc-022d239b5d20df6c0b1ee05d527b94b671a746fb.zip
conformtest: Add langinfo.h expectations for YESSTR, NOSTR.
The conformtest expectations for langinfo.h fail to include the YESSTR
and NOSTR constants that were present in UNIX98 and earlier XPG
standards.  This patch adds those expectations, so fixing three
XFAILs.

Tested for x86_64 and x86.

	* conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
	Expect constant.
	[XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
	* conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
	variable.
	(test-xfail-XPG4/langinfo.h/conform): Likewise.
	(test-xfail-UNIX98/langinfo.h/conform): Likewise.
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/langinfo.h-data5
1 files changed, 5 insertions, 0 deletions
diff --git a/conform/data/langinfo.h-data b/conform/data/langinfo.h-data
index 51dd925a8a..b80fef2a74 100644
--- a/conform/data/langinfo.h-data
+++ b/conform/data/langinfo.h-data
@@ -55,6 +55,11 @@ constant YESEXPR
 constant NOEXPR
 constant CRNCYSTR
 
+# if defined XPG3 || defined XPG4 || defined UNIX98
+constant YESSTR
+constant NOSTR
+# endif
+
 type nl_item
 # if defined XOPEN2K8 || defined POSIX2008
 type locale_t