]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update Linux kernel version in tst-mman-consts.py.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 2 Jan 2019 18:35:50 +0000 (18:35 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 2 Jan 2019 18:35:50 +0000 (18:35 +0000)
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.

ChangeLog
sysdeps/unix/sysv/linux/tst-mman-consts.py

index 96dc32d96fc1c14d057a06933b81f65d7abf7f82..75c80e6f02c588a8f2b13cf655113bfb9c60f75c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-01-02  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
+       constants to match with Linux 4.20.
+
        * sysdeps/mips/mips32/libm-test-ulps: Update.
        * sysdeps/mips/mips64/libm-test-ulps: Likewise.
 
index 0985d1cc9084570ab06b1a6ceeffe28bb53a1b83..8e9f9d03b7985ab34d5507b7bbe94504cdc751ef 100644 (file)
@@ -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',