1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
Joseph Myers
2022-05-26 13:51:17 +00:00
parent 7597b251d4
commit 8d6c44ee7d
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ def main():
help='C compiler (including options) to use') help='C compiler (including options) to use')
args = parser.parse_args() args = parser.parse_args()
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) 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( sys.exit(glibcextract.compare_macro_consts(
'#define _GNU_SOURCE 1\n' '#define _GNU_SOURCE 1\n'
'#include <sys/mman.h>\n', '#include <sys/mman.h>\n',

View File

@@ -34,7 +34,7 @@ def main():
args = parser.parse_args() args = parser.parse_args()
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc) 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( sys.exit(glibcextract.compare_macro_consts(
'#include <sys/pidfd.h>\n', '#include <sys/pidfd.h>\n',
'#include <asm/fcntl.h>\n' '#include <asm/fcntl.h>\n'