aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-05-19 14:48:30 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-05-19 14:48:30 +0000
commitbb37c73778ccc029d20b08d8a5df116c222ca825 (patch)
tree7ca7d5614ea6dcffef5cc2d148f422c953a45673
parent4c9695fa8eff5072d319adf8eab35329172394d1 (diff)
downloadglibc-bb37c73778ccc029d20b08d8a5df116c222ca825.zip
glibc-bb37c73778ccc029d20b08d8a5df116c222ca825.tar.gz
glibc-bb37c73778ccc029d20b08d8a5df116c222ca825.tar.bz2
conformtest: Correct pwd.h expectations for XPG3.
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.
-rw-r--r--ChangeLog6
-rw-r--r--conform/Makefile1
-rw-r--r--conform/data/pwd.h-data2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f5a1dc8..5bc942e 100644
--- 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
diff --git a/conform/Makefile b/conform/Makefile
index eb64e0e..573fbde 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -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
diff --git a/conform/data/pwd.h-data b/conform/data/pwd.h-data
index 64d617f..2c4a6fe 100644
--- a/conform/data/pwd.h-data
+++ b/conform/data/pwd.h-data
@@ -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)