Update Linux kernel version in tst-mman-consts.py [committed]

Message ID alpine.DEB.2.21.1901021836080.16330@digraph.polyomino.org.uk
State Superseded
Headers show
  • Update Linux kernel version in tst-mman-consts.py [committed]
Related show

Commit Message

Joseph Myers Jan. 2, 2019, 6:36 p.m.
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.  Committed.

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.

Joseph S. Myers


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)
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',