mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Update kernel version to 6.6 in header constant tests
There are no new constants covered, the tst-mman-consts.py is updated separately along with a header constant addition.
This commit is contained in:
parent
582383b37d
commit
f680063f30
@ -39,10 +39,10 @@ def main():
|
||||
sys.exit (77)
|
||||
|
||||
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
|
||||
# Constants in glibc were updated to match Linux v6.5. When glibc
|
||||
# Constants in glibc were updated to match Linux v6.6. When glibc
|
||||
# constants are updated this value should be updated to match the
|
||||
# released kernel version from which the constants were taken.
|
||||
linux_version_glibc = (6, 5)
|
||||
linux_version_glibc = (6, 6)
|
||||
def check(cte, exclude=None):
|
||||
return glibcextract.compare_macro_consts(
|
||||
'#include <sys/mount.h>\n',
|
||||
|
@ -39,7 +39,7 @@ def main():
|
||||
sys.exit (77)
|
||||
|
||||
linux_version_headers = glibcsyscalls.linux_kernel_version(args.cc)
|
||||
linux_version_glibc = (6, 5)
|
||||
linux_version_glibc = (6, 6)
|
||||
sys.exit(glibcextract.compare_macro_consts(
|
||||
'#include <sys/pidfd.h>\n',
|
||||
'#include <asm/fcntl.h>\n'
|
||||
|
Loading…
Reference in New Issue
Block a user