about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-01-02 18:35:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-01-02 18:35:50 +0000
commitacb55dcb892d4321ada6fd9b663b28fada432682 (patch)
tree716334c343f7895ab91028c8f8532141eab63ac9 /sysdeps
parent2ce09e0187da433c6bfd588fed7c2f645998b4b1 (diff)
downloadglibc-acb55dcb892d4321ada6fd9b663b28fada432682.tar.gz
glibc-acb55dcb892d4321ada6fd9b663b28fada432682.tar.xz
glibc-acb55dcb892d4321ada6fd9b663b28fada432682.zip
Update Linux kernel version in tst-mman-consts.py.
This patch updates the Linux kernel version in tst-mman-consts.py to
4.20 (meaning that's the version for which glibc is expected to have
the same constants as the kernel, up to the exceptions listed in the
test).  (Once we have more such tests sharing common infrastructure, I
expect the kernel version will be something set in the infrastructure
shared by all such tests, rather than something needing updating
separately for each test for each new kernel version.)

Tested with build-many-glibcs.py.

	* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
	constants to match with Linux 4.20.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/tst-mman-consts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index 0985d1cc90..8e9f9d03b7 100644
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
@@ -41,7 +41,7 @@ def main():
                         help='C compiler (including options) to use')
     args = parser.parse_args()
     linux_version_headers = linux_kernel_version(args.cc)
-    linux_version_glibc = (4, 19)
+    linux_version_glibc = (4, 20)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',