Update kernel version to 5.13 in tst-mman-consts.py

Message ID alpine.DEB.2.22.394.2107062237340.655950@digraph.polyomino.org.uk
State Committed
Commit b46cfcef3f7dab8e90729c6616ac1420f2642245
Headers
Series Update kernel version to 5.13 in tst-mman-consts.py |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Joseph Myers July 6, 2021, 10:38 p.m. UTC
  This patch updates the kernel version in the test tst-mman-consts.py
to 5.13.  (There are no new MAP_* constants covered by this test in
5.13 that need any other header changes.)

Tested with build-many-glibcs.py.
  

Comments

Florian Weimer July 7, 2021, 6:23 a.m. UTC | #1
* Joseph Myers:

> This patch updates the kernel version in the test tst-mman-consts.py
> to 5.13.  (There are no new MAP_* constants covered by this test in
> 5.13 that need any other header changes.)
>
> Tested with build-many-glibcs.py.
>
> diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
> index fec7c9b8da..ee5b13ee12 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 = (5, 12)
> +    linux_version_glibc = (5, 13)
>      sys.exit(glibcextract.compare_macro_consts(
>          '#define _GNU_SOURCE 1\n'
>          '#include <sys/mman.h>\n',

Okay.

Thanks,
Florian
  

Patch

diff --git a/sysdeps/unix/sysv/linux/tst-mman-consts.py b/sysdeps/unix/sysv/linux/tst-mman-consts.py
index fec7c9b8da..ee5b13ee12 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 = (5, 12)
+    linux_version_glibc = (5, 13)
     sys.exit(glibcextract.compare_macro_consts(
         '#define _GNU_SOURCE 1\n'
         '#include <sys/mman.h>\n',