diff mbox series

[v2,5/8] Update kernel version to 6.11 in header constant tests

Message ID 20241008184634.245607-6-adhemerval.zanella@linaro.org
State Accepted
Commit 934d0bf426ffa58f88cebd219b08742ca21e3365
Headers show
Series Updates for Linux 6.11 | expand

Commit Message

Adhemerval Zanella Netto Oct. 8, 2024, 6:45 p.m. UTC
This patch updates the kernel version in the tests tst-mount-consts.py,
and tst-sched-consts.py to 6.11.

There are no new constants covered by these tests in 6.11.

Tested with build-many-glibcs.py.
---
 sysdeps/unix/sysv/linux/tst-mount-consts.py | 2 +-
 sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

H.J. Lu Oct. 8, 2024, 9:06 p.m. UTC | #1
On Wed, Oct 9, 2024 at 2:48 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> This patch updates the kernel version in the tests tst-mount-consts.py,
> and tst-sched-consts.py to 6.11.
>
> There are no new constants covered by these tests in 6.11.
>
> Tested with build-many-glibcs.py.
> ---
>  sysdeps/unix/sysv/linux/tst-mount-consts.py | 2 +-
>  sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py
> index 675f1790b6..b71d8a489d 100755
> --- a/sysdeps/unix/sysv/linux/tst-mount-consts.py
> +++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py
> @@ -42,7 +42,7 @@ def main():
>      # Constants in glibc were updated to match Linux v6.10.  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, 10)
> +    linux_version_glibc = (6, 11)
>      def check(cte, exclude=None):
>          return glibcextract.compare_macro_consts(
>                  '#include <sys/mount.h>\n',
> diff --git a/sysdeps/unix/sysv/linux/tst-sched-consts.py b/sysdeps/unix/sysv/linux/tst-sched-consts.py
> index 70071dcd97..f06ac400bd 100644
> --- a/sysdeps/unix/sysv/linux/tst-sched-consts.py
> +++ b/sysdeps/unix/sysv/linux/tst-sched-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, 10)
> +    linux_version_glibc = (6, 11)
>      sys.exit(glibcextract.compare_macro_consts(
>          '#define _GNU_SOURCE 1\n'
>          '#include <sched.h>\n',
> --
> 2.43.0
>

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/tst-mount-consts.py b/sysdeps/unix/sysv/linux/tst-mount-consts.py
index 675f1790b6..b71d8a489d 100755
--- a/sysdeps/unix/sysv/linux/tst-mount-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-mount-consts.py
@@ -42,7 +42,7 @@  def main():
     # Constants in glibc were updated to match Linux v6.10.  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, 10)
+    linux_version_glibc = (6, 11)
     def check(cte, exclude=None):
         return glibcextract.compare_macro_consts(
                 '#include <sys/mount.h>\n',
diff --git a/sysdeps/unix/sysv/linux/tst-sched-consts.py b/sysdeps/unix/sysv/linux/tst-sched-consts.py
index 70071dcd97..f06ac400bd 100644
--- a/sysdeps/unix/sysv/linux/tst-sched-consts.py
+++ b/sysdeps/unix/sysv/linux/tst-sched-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, 10)
+    linux_version_glibc = (6, 11)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sched.h>\n',