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

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

Commit Message

Joseph Myers April 3, 2020, 9:12 p.m. UTC
  This patch updates the kernel version in the test tst-mman-consts.py
to 5.6.  (There are no new constants covered by this test in 5.6 that
need any other header changes.)

Tested with build-many-glibcs.py.
  

Comments

Adhemerval Zanella April 9, 2020, 8:11 p.m. UTC | #1
On 03/04/2020 18:12, Joseph Myers wrote:
> This patch updates the kernel version in the test tst-mman-consts.py
> to 5.6.  (There are no new constants covered by this test in 5.6 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 9a6c62e58e..4dd51b7d4f 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, 5)
> +    linux_version_glibc = (5, 6)
>      sys.exit(glibcextract.compare_macro_consts(
>          '#define _GNU_SOURCE 1\n'
>          '#include <sys/mman.h>\n',
> 

LGTM, thanks.
  

Patch

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