]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update kernel version to 5.18 in header constant tests
authorJoseph Myers <joseph@codesourcery.com>
Thu, 26 May 2022 13:51:17 +0000 (13:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 26 May 2022 13:51:17 +0000 (13:51 +0000)
This patch updates the kernel version in the tests tst-mman-consts.py
and tst-pidfd-consts.py to 5.18.  (There are no new constants covered
by these tests in 5.18, or in 5.17 in the case of tst-pidfd-consts.py
that previously used version 5.16, that need any other header
changes.)

Tested with build-many-glibcs.py.

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

index fdc5b2bc07b8656981dba7eb0ecb90cbc190f3cb..ddcdf12c3652668f38e4f0e8b1bbf4d1c57225a3 100644 (file)
@@ -33,7 +33,7 @@ def main():
                         help='C compiler (including options) to use')
     args = parser.parse_args()
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (5, 17)
+    linux_version_glibc = (5, 18)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
index 795621bbd9595feec042c46a011f90268ccdc6ca..75df0ebed53546889f3f46a70fa2f8819a3c16a1 100644 (file)
@@ -34,7 +34,7 @@ def main():
     args = parser.parse_args()
 
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (5, 16)
+    linux_version_glibc = (5, 18)
     sys.exit(glibcextract.compare_macro_consts(
                 '#include <sys/pidfd.h>\n',
                 '#include <asm/fcntl.h>\n'