Update kernel version to 6.5 in header constant tests
authorJoseph Myers <joseph@codesourcery.com>
Wed, 20 Sep 2023 13:36:46 +0000 (13:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 20 Sep 2023 13:36:46 +0000 (13:36 +0000)
This patch updates the kernel version in the tests tst-mman-consts.py
and tst-pidfd-consts.py to 6.5.  (There are no new constants covered
by these tests in 6.5 that need any other header changes;
tst-mount-consts.py was updated separately along with a header
constant addition.)

Tested with build-many-glibcs.py.

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

index dfb48b6..e85ea41 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 = (6, 4)
+    linux_version_glibc = (6, 5)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
index ee6ddc8..1ef1488 100644 (file)
@@ -39,7 +39,7 @@ def main():
         sys.exit (77)
 
     linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
-    linux_version_glibc = (6, 4)
+    linux_version_glibc = (6, 5)
     sys.exit(glibcextract.compare_macro_consts(
                 '#include <sys/pidfd.h>\n',
                 '#include <asm/fcntl.h>\n'