]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Correct pwd.h expectations for XPG3.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 19 May 2016 14:48:30 +0000 (14:48 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 19 May 2016 14:48:30 +0000 (14:48 +0000)
This patch corrects some conformtest expectations for pwd.h for XPG4.

Tested for x86_64 and x86.

* conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
(getpwent): Likewise.
(setpwent): Likewise.
* conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
variable.

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

index f5a1dc80636747d91cf21d4bd5eba2103fea82b0..5bc942eb9fe1f30eeefc1f105b553a83221a67dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
 
+       * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
+       (getpwent): Likewise.
+       (setpwent): Likewise.
+       * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
+       variable.
+
        * conform/data/search.h-data (insque): Do not expect for [XPG3].
        (remque): Likewise.
        * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
index eb64e0e80256c633c7413500d2e5d15bf19b7c02..573fbdec9f351d06aa5e3c6b18f35df3b30ea979 100644 (file)
@@ -165,7 +165,6 @@ test-xfail-XOPEN2K8/ndbm.h/conform = yes
 # Unsorted expected failures.
 test-xfail-XPG3/ftw.h/conform = yes
 test-xfail-XPG3/limits.h/conform = yes
-test-xfail-XPG3/pwd.h/conform = yes
 test-xfail-XPG3/signal.h/conform = yes
 test-xfail-XPG3/sys/wait.h/conform = yes
 test-xfail-XPG4/arpa/inet.h/conform = yes
index 64d617fdcf4b2356ecf5a61d006af4ce4249710d..2c4a6fe733ea193d977e16acb379d3c2adfcd4d6 100644 (file)
@@ -23,7 +23,7 @@ function {struct passwd*} getpwnam (const char*)
 function {struct passwd*} getpwuid (uid_t)
 function int getpwnam_r (const char*, struct passwd*, char*, size_t, struct passwd**)
 function int getpwuid_r (uid_t, struct passwd*, char*, size_t, struct passwd**)
-# if !defined POSIX && !defined POSIX2008
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
 function void endpwent (void)
 function {struct passwd*} getpwent (void)
 function void setpwent (void)