conformtest: Add alpha XFAIL for struct netent n_net type (bug 21260).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 17 Mar 2017 02:42:16 +0000 (02:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 17 Mar 2017 02:42:16 +0000 (02:42 +0000)
As noted in bug 21260, sysdeps/unix/sysv/linux/alpha/bits/netdb.h
defines struct netent with n_net of type unsigned long instead of the
correct uint32_t.  This patch XFAILs that test in the conformtest
expectations for alpha.  (This is not a fix for the bug, and it should
not be closed without an actual fix.)

Tested for alpha with build-many-glibcs.py.

[BZ #21260]
* sysdeps/unix/sysv/linux/alpha/Makefile
[$(subdir) = conform] (conformtest-xfail-conds): New variable.

ChangeLog
conform/data/netdb.h-data
sysdeps/unix/sysv/linux/alpha/Makefile

index 5b0a0bd..0ec9284 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
 
+       [BZ #21260]
+       * sysdeps/unix/sysv/linux/alpha/Makefile
+       [$(subdir) = conform] (conformtest-xfail-conds): New variable.
+
        * conform/conformtest.pl ($cross): New variable.
        (--cross): New command-line option.
        (runtest): Skip test execution when cross-compiling.
index 63a42ae..7258a51 100644 (file)
@@ -15,7 +15,8 @@ type {struct netent}
 element {struct netent} {char*} n_name
 element {struct netent} {char**} n_aliases
 element {struct netent} int n_addrtype
-element {struct netent} uint32_t n_net
+// Bug 21260: n_net has wrong type.
+xfail[alpha-linux]-element {struct netent} uint32_t n_net
 
 type uint32_t
 
index 4bbe9bf..37bdd5a 100644 (file)
@@ -39,3 +39,8 @@ ifeq ($(subdir),nptl)
 libpthread-routines += sysdep sigprocmask rt_sigaction
 libpthread-shared-only-routines += sysdep sigprocmask rt_sigaction
 endif
+
+ifeq ($(subdir),conform)
+# For bug 21260.
+conformtest-xfail-conds += alpha-linux
+endif