]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Add langinfo.h expectations for YESSTR, NOSTR.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 28 Apr 2016 17:19:53 +0000 (17:19 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 28 Apr 2016 17:19:53 +0000 (17:19 +0000)
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.

ChangeLog
conform/Makefile
conform/data/langinfo.h-data

index 715acc66ab07155f4695dd7beb7b7c933d745936..39bb84a2b3cb7db12c6181b15e6d33820360c78a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
 
+       * 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.
+
        * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
        [__USE_LARGEFILE64] (off64_t): Likewise.
        * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
index 7665f777812aa39b6f1e798414a7cca2d5de4225..06c4ff36f4745d5f2d3a91b6074df1399ff059d9 100644 (file)
@@ -165,7 +165,6 @@ test-xfail-XOPEN2K8/ndbm.h/conform = yes
 # Unsorted expected failures.
 test-xfail-XPG3/fcntl.h/conform = yes
 test-xfail-XPG3/ftw.h/conform = yes
-test-xfail-XPG3/langinfo.h/conform = yes
 test-xfail-XPG3/limits.h/conform = yes
 test-xfail-XPG3/pwd.h/conform = yes
 test-xfail-XPG3/search.h/conform = yes
@@ -181,7 +180,6 @@ test-xfail-XPG3/time.h/conform = yes
 test-xfail-XPG3/unistd.h/conform = yes
 test-xfail-XPG4/arpa/inet.h/conform = yes
 test-xfail-XPG4/fcntl.h/conform = yes
-test-xfail-XPG4/langinfo.h/conform = yes
 test-xfail-XPG4/netdb.h/conform = yes
 test-xfail-XPG4/netinet/in.h/conform = yes
 test-xfail-XPG4/signal.h/conform = yes
@@ -198,7 +196,6 @@ test-xfail-XPG4/utmpx.h/conform = yes
 test-xfail-POSIX/sys/wait.h/conform = yes
 test-xfail-UNIX98/arpa/inet.h/conform = yes
 test-xfail-UNIX98/fcntl.h/conform = yes
-test-xfail-UNIX98/langinfo.h/conform = yes
 test-xfail-UNIX98/netdb.h/conform = yes
 test-xfail-UNIX98/netinet/in.h/conform = yes
 test-xfail-UNIX98/signal.h/conform = yes
index 51dd925a8abd4e1e2fbb18ef3d69df45b350d14d..b80fef2a74741adfaf9a59d10712d3ed7e3c9de0 100644 (file)
@@ -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