diff mbox series

[4/6] Update kernel version to 6.11 in header constant tests

Message ID 20241008132440.722309-5-adhemerval.zanella@linaro.org
State New
Headers show
Series Updates for Linux 6.11 | expand

Commit Message

Adhemerval Zanella Netto Oct. 8, 2024, 1:23 p.m. UTC
This patch updates the kernel version in the tests tst-mman-consts.py,
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-mman-consts.py  | 2 +-
 sysdeps/unix/sysv/linux/tst-mount-consts.py | 2 +-
 sysdeps/unix/sysv/linux/tst-sched-consts.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Joseph Myers Oct. 8, 2024, 5:06 p.m. UTC | #1
On Tue, 8 Oct 2024, Adhemerval Zanella wrote:

> This patch updates the kernel version in the tests tst-mman-consts.py,
> tst-mount-consts.py, and tst-sched-consts.py to 6.11.
> 
> There are no new constants covered by these tests in 6.11.

I'd have expected the tst-mman-consts.py change to go along with the 
MAP_DROPPABLE addition.  The rest of this patch is OK.
Adhemerval Zanella Netto Oct. 8, 2024, 5:21 p.m. UTC | #2
On 08/10/24 14:06, Joseph Myers wrote:
> On Tue, 8 Oct 2024, Adhemerval Zanella wrote:
> 
>> This patch updates the kernel version in the tests tst-mman-consts.py,
>> tst-mount-consts.py, and tst-sched-consts.py to 6.11.
>>
>> There are no new constants covered by these tests in 6.11.
> 
> I'd have expected the tst-mman-consts.py change to go along with the 
> MAP_DROPPABLE addition.  The rest of this patch is OK.
> 

Indeed, I had in my mind. I might have missed on a rebase.  I will fix 
this.
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 a1137eb1d5..2191bea36f 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, 10)
+    linux_version_glibc = (6, 11)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',
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',