diff options
author | Jim Meyering <meyering@fb.com> | 2020-01-01 09:33:03 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-01-01 09:33:03 -0800 |
commit | 351f87d0c4b97eb48bcc28585a926045b437ab4e (patch) | |
tree | a32a8c3e2542aa7ac8f82cbfe7eaaee2be3dabd5 /tests | |
parent | db5ff0eb0a8ebfa040b07b80b3aebb8d335ea3f9 (diff) | |
download | diffutils-351f87d0c4b97eb48bcc28585a926045b437ab4e.tar.gz |
maint: update all copyright year number ranges
Run "make update-copyright" and then...
* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cmp | 2 | ||||
-rw-r--r-- | tests/envvar-check | 2 | ||||
-rwxr-xr-x | tests/help-version | 2 | ||||
-rw-r--r-- | tests/init.cfg | 2 | ||||
-rw-r--r-- | tests/init.sh | 10 |
5 files changed, 13 insertions, 5 deletions
@@ -1,7 +1,7 @@ #!/bin/sh # Test 'cmp'. -# Copyright 2017-2019 Free Software Foundation, Inc. +# Copyright 2017-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/envvar-check b/tests/envvar-check index edcadb2..7e51193 100644 --- a/tests/envvar-check +++ b/tests/envvar-check @@ -1,7 +1,7 @@ # -*- sh -*- # Check environment variables for sane values while testing. -# Copyright (C) 2000-2019 Free Software Foundation, Inc. +# Copyright (C) 2000-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/help-version b/tests/help-version index dfbf563..2e369a2 100755 --- a/tests/help-version +++ b/tests/help-version @@ -2,7 +2,7 @@ # Make sure all these programs work properly # when invoked with --help or --version. -# Copyright (C) 2000-2013, 2015-2019 Free Software Foundation, Inc. +# Copyright (C) 2000-2013, 2015-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/init.cfg b/tests/init.cfg index c1f7941..c03b363 100644 --- a/tests/init.cfg +++ b/tests/init.cfg @@ -1,6 +1,6 @@ # This file is sourced by init.sh, *before* its initialization. -# Copyright (C) 2010-2019 Free Software Foundation, Inc. +# Copyright (C) 2010-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/tests/init.sh b/tests/init.sh index 8ca5c90..b4a5944 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -1,6 +1,6 @@ # source this file; set up for tests -# Copyright (C) 2009-2019 Free Software Foundation, Inc. +# Copyright (C) 2009-2020 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -129,6 +129,8 @@ else fi # We require $(...) support unconditionally. +# We require that the printf built-in work correctly regarding octal escapes; +# this eliminates /bin/sh on AIX 7.2. # We require non-surprising "local" semantics (this eliminates dash). # This takes the admittedly draconian step of eliminating dash, because the # assignment tab=$(printf '\t') works fine, yet preceding it with "local " @@ -158,6 +160,12 @@ fi # ? - not ok gl_shell_test_script_=' test $(echo y) = y || exit 1 +LC_ALL=en_US.UTF-8 printf "\\351" 2>/dev/null \ + | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \ + || exit 1 +printf "\\351" 2>/dev/null \ + | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \ + || exit 1 f_local_() { local v=1; }; f_local_ || exit 1 f_dash_local_fail_() { local t=$(printf " 1"); }; f_dash_local_fail_ score_=10 |