about summary refs log tree commit diff
path: root/conform/data/sys
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-03-20 21:28:16 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-03-20 21:28:16 +0000
commit112039611cc21c5cbe41b578633f39d2fe396618 (patch)
tree8f385a95c330afff7d7e41fdd87fc0373682b114 /conform/data/sys
parentba7fe6906d213e226dff8606dca64feb48718e27 (diff)
downloadglibc-112039611cc21c5cbe41b578633f39d2fe396618.tar.gz
glibc-112039611cc21c5cbe41b578633f39d2fe396618.tar.xz
glibc-112039611cc21c5cbe41b578633f39d2fe396618.zip
conformtest: Add mips XFAIL for struct stat st_rdev type (bug 21278).
MIPS o32 struct stat has the wrong type of st_rdev.  This patch XFAILs
that test in the conformtest expectations for this case (the bug
should not be closed without an actual fix, however).

Tested with build-many-glibcs.py.

	[BZ #21278]
	* sysdeps/unix/sysv/linux/mips/mips32/Makefile
	[$(subdir) = conform] (conformtest-xfail-conds): Update comment.
	* conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
	mips-o32-linux.
Diffstat (limited to 'conform/data/sys')
-rw-r--r--conform/data/sys/stat.h-data3
1 files changed, 2 insertions, 1 deletions
diff --git a/conform/data/sys/stat.h-data b/conform/data/sys/stat.h-data
index 781cbb26b4..07d55e6bd4 100644
--- a/conform/data/sys/stat.h-data
+++ b/conform/data/sys/stat.h-data
@@ -34,7 +34,8 @@ element {struct stat} nlink_t st_nlink
 element {struct stat} uid_t st_uid
 element {struct stat} gid_t st_gid
 #if !defined POSIX && !defined POSIX2008
-element {struct stat} dev_t st_rdev
+// Bug 21278: st_rdev has wrong type.
+xfail[mips-o32-linux]-element {struct stat} dev_t st_rdev
 #endif
 element {struct stat} off_t st_size
 element {struct stat} time_t st_atime