520cc8
commit acb55dcb892d4321ada6fd9b663b28fada432682
520cc8
Author: Joseph Myers <joseph@codesourcery.com>
520cc8
Date:   Wed Jan 2 18:35:50 2019 +0000
520cc8
520cc8
    Update Linux kernel version in tst-mman-consts.py.
520cc8
    
520cc8
    This patch updates the Linux kernel version in tst-mman-consts.py to
520cc8
    4.20 (meaning that's the version for which glibc is expected to have
520cc8
    the same constants as the kernel, up to the exceptions listed in the
520cc8
    test).  (Once we have more such tests sharing common infrastructure, I
520cc8
    expect the kernel version will be something set in the infrastructure
520cc8
    shared by all such tests, rather than something needing updating
520cc8
    separately for each test for each new kernel version.)
520cc8
    
520cc8
    Tested with build-many-glibcs.py.
520cc8
    
520cc8
            * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
520cc8
            constants to match with Linux 4.20.
520cc8
520cc8
diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
520cc8
index 1a613beec0da16fb..4a2ddd49c4c7282b 100644
520cc8
--- a/sysdeps/unix/sysv/linux/tst-mman-consts.py
520cc8
+++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py
520cc8
@@ -41,7 +41,7 @@ def main():
520cc8
                         help='C compiler (including options) to use')
520cc8
     args = parser.parse_args()
520cc8
     linux_version_headers = linux_kernel_version(args.cc)
520cc8
-    linux_version_glibc = (4, 19)
520cc8
+    linux_version_glibc = (4, 20)
520cc8
     sys.exit(glibcextract.compare_macro_consts(
520cc8
         '#define _GNU_SOURCE 1\n'
520cc8
         '#include <sys/mman.h>\n',