From: Joseph Myers Date: Thu, 26 May 2022 13:51:17 +0000 (+0000) Subject: Update kernel version to 5.18 in header constant tests X-Git-Tag: glibc-2.36~240 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d6c44ee7d74ceafcce7cd1d694a1f86cd61dc0a;p=thirdparty%2Fglibc.git Update kernel version to 5.18 in header constant tests 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. --- diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py index fdc5b2bc07b..ddcdf12c365 100644 --- a/sysdeps/unix/sysv/linux/tst-mman-consts.py +++ b/sysdeps/unix/sysv/linux/tst-mman-consts.py @@ -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 \n', diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py index 795621bbd95..75df0ebed53 100644 --- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py +++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py @@ -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 \n', '#include \n'