about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-03-17 02:42:16 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-03-17 02:42:16 +0000
commitbb5cc234e1db6a439841f8c4e7e7368b1348fca3 (patch)
treeaa5d55dc4e93392da7fcb815886e949e47ded877 /conform
parentc33eac51f4a8aa6a7ea77cccf6bea3f417eaff6d (diff)
downloadglibc-bb5cc234e1db6a439841f8c4e7e7368b1348fca3.tar.gz
glibc-bb5cc234e1db6a439841f8c4e7e7368b1348fca3.tar.xz
glibc-bb5cc234e1db6a439841f8c4e7e7368b1348fca3.zip
conformtest: Add alpha XFAIL for struct netent n_net type (bug 21260).
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.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/netdb.h-data3
1 files changed, 2 insertions, 1 deletions
diff --git a/conform/data/netdb.h-data b/conform/data/netdb.h-data
index 63a42ae179..7258a51ff7 100644
--- a/conform/data/netdb.h-data
+++ b/conform/data/netdb.h-data
@@ -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