diff mbox series

Update kernel version to 6.5 in header constant tests

Message ID 1a4add1e-e613-ed6c-9a4e-9b97d7d2d66@codesourcery.com
State New
Headers show
Series Update kernel version to 6.5 in header constant tests | expand

Commit Message

Joseph Myers Sept. 14, 2023, 6:13 p.m. UTC
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.

Comments

Joseph Myers Sept. 20, 2023, 1:26 p.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2023-September/151577.html> 
is pending review.
Adhemerval Zanella Netto Sept. 20, 2023, 1:34 p.m. UTC | #2
On 14/09/23 15:13, Joseph Myers wrote:
> 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.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> 
> diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
> index dfb48b62b0..e85ea41ee4 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 = (6, 4)
> +    linux_version_glibc = (6, 5)
>      sys.exit(glibcextract.compare_macro_consts(
>          '#define _GNU_SOURCE 1\n'
>          '#include <sys/mman.h>\n',
> diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> index ee6ddc8d60..1ef14889a8 100644
> --- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> +++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
> @@ -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'
>
Andreas Schwab Sept. 20, 2023, 1:34 p.m. UTC | #3
On Sep 14 2023, Joseph Myers wrote:

> 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.)

Ok.
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index dfb48b62b0..e85ea41ee4 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 = (6, 4)
+    linux_version_glibc = (6, 5)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
index ee6ddc8d60..1ef14889a8 100644
--- a/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-pidfd-consts.py
@@ -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'