28 Commits

Author SHA1 Message Date
Jim Meyering
50463e0899 maint: update copyright dates 2026-01-02 17:10:47 -08:00
Jim Meyering
98db945a34 maint: update all copyright dates via "make update-copyright" 2025-01-03 09:33:55 -08:00
Paul Eggert
22de20442e make update-copyright 2024-01-08 18:51:42 -08:00
Jim Meyering
7e6214bd1c maint: update copyright dates 2023-01-01 17:19:00 -08:00
Jim Meyering
54af561326 maint: make update-copyright 2022-01-03 10:16:37 -08:00
Paul Eggert
b24303a2c5 tests: port better to NetBSD
* tests/hufts, tests/zdiff:
Ignore lines starting with ‘+’ in stderr.
The NetBSD shell outputs them after set -x.
2021-08-31 02:11:04 -07:00
Jim Meyering
7d3a3c0a12 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.
2021-01-01 17:36:52 -08:00
Jim Meyering
89181137b9 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.
2020-01-01 09:53:33 -08:00
Jim Meyering
a604573c68 maint: update all copyright dates via "make update-copyright"
* gnulib: Also update submodule for its copyright updates.
2019-01-01 19:01:58 -08:00
Jim Meyering
975508caa0 maint: update gnulib and copyright dates for 2018
* gnulib: Update to latest.
* bootstrap: Update from gnulib.
* all files: Run "make update-copyright".
2018-01-03 16:44:26 -08:00
Paul Eggert
d49274f4ed maint: prefer HTTPS to HTTP, FTP in URLs 2017-09-19 10:43:52 -07:00
Paul Eggert
82c62a301a gzip: port zdiff, zless to Busybox
Problem reported by Denys Zagorui (Bug#26088).
* tests/zdiff: Check that diff uses POSIX-format output.
* zless.in (less_version): Don't exit merely because 'less -V'
fails; instead, assume 'less' is compatible with an old version of
the original 'less'.  Busybox 'less -V' fails, but apparently its
'less' works anyway somehow.
2017-03-13 16:36:28 -07:00
Jim Meyering
9110d11ac0 maint: update gnulib and copyright dates for 2017
* gnulib: Update to latest.
* all files: Run "make update-copyright".
2017-01-01 03:40:15 -08:00
Jim Meyering
676f6b24d8 maint: use "returns_" rather than explicit comparison with "$?"
* tests/zdiff: Use "returns_ 1" rather than testing $? = 1.
* tests/hufts: Likewise.
* tests/timestamp: Likewise, but s/1/2/.
2016-11-08 18:30:23 -08:00
Jim Meyering
2725db1000 maint: update copyright year, bootstrap, init.sh
Run "make update-copyright" and then...

* gzip.c: Transform the copyright notice via s/2015/2016/.
* gnulib: Update to latest.
* tests/init.sh: Update from gnulib.
* bootstrap: Likewise.
2016-01-01 17:50:24 -08:00
Jim Meyering
3d2df61b0c maint: update copyright year ranges to include 2015; update gnulib 2015-01-01 21:43:33 -08:00
Jim Meyering
8b5725caaf maint: udpate all copyright notices via "make update-copyright" 2014-06-07 08:54:44 -07:00
Jim Meyering
00c348e658 maint: update all copyright year number ranges
Run "make update-copyright".
2013-01-04 12:05:02 +01:00
Jim Meyering
6f6a3d1589 maint: update all copyright year number ranges
Run "make update-copyright".
2012-01-01 09:53:58 +01:00
Jim Meyering
d3cd190bdb tests: use "compare exp out", not "compare out exp"
Likewise, when an empty file is expected, use "compare /dev/null out",
not "compare out /dev/null". I.e., specify the expected/desired contents
via the first file name.  Prompted by a suggestion from Bruno Haible
in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154

Run these commands:

    git grep -l -E 'compare [^ ]+ exp' \
      |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/'
    git grep -l -E 'compare [^ ]+ /dev/null' \
      |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
2011-11-29 18:14:02 +01:00
Jim Meyering
70b787436a maint: update copyright year ranges to include 2011
Run "make update-copyright", so "make syntax-check" works in 2011.
2011-01-03 22:43:04 +01:00
Jim Meyering
0555c158a0 maint: make our use of gnulib's init.sh conform
* tests/help-version: Make use of init.sh conform.
* tests/helin-segv: Likewise.
* tests/help-version: Likewise.
* tests/hufts: Likewise.
* tests/memcpy-abuse: Likewise.
* tests/mixed: Likewise.
* tests/null-suffix-clobber: Likewise.
* tests/stdin: Likewise.
* tests/trailing-nul: Likewise.
* tests/zdiff: Likewise.
* tests/zgrep-f: Likewise.
* tests/zgrep-signal: Likewise.
* tests/znew-k: Likewise.
2010-10-23 09:44:22 +02:00
Jim Meyering
729b8fc4b4 tests: s/framework_failure/framework_failure_/ 2010-04-06 18:28:57 +02:00
Jim Meyering
6f8485944f tests: run most tests via tests/Makefile.am
* Makefile.am (SUBDIRS): List tests after ".".
Move most test-related things from here to ...
* tests/Makefile.am: ... here.
* configure.ac (AC_CONFIG_FILES): Add tests/Makefile.
* tests/helin-segv: Adjust.
* tests/help-version: Likewise.
* tests/hufts: Likewise.
* tests/memcpy-abuse: Likewise.
* tests/mixed: Likewise.
* tests/null-suffix-clobber: Likewise.
* tests/stdin: Likewise.
* tests/trailing-nul: Likewise.
* tests/zdiff: Likewise.
* tests/zgrep-f: Likewise.
* tests/zgrep-signal: Likewise.
* tests/znew-k: Likewise.
2010-04-06 18:28:57 +02:00
Jim Meyering
cba5e35916 tests: remove unnecessary use of "path_prepend_ ."
It is unnecessary, since Makefile.am's TESTS_ENVIRONMENT setting
already adds the top build directory, and besides, is only
marginally useful when running stand-alone, since it presumes
that the script is being run from the top build directory.
* tests/helin-segv: Remove unnecessary use of path_prepend_.
* tests/memcpy-abuse: Likewise.
* tests/trailing-nul: Likewise.
* tests/zdiff: Likewise.
* tests/zgrep-f: Likewise.
2010-02-03 06:23:57 +01:00
Jim Meyering
1b3081d92a tests: switch to gnulib's init.sh test infrastructure
* tests/test-lib.sh: Remove file.
* tests/init.sh: New file, from gnulib.
* tests/trailing-nul: Use the new file.
* tests/zdiff: Likewise.
* tests/zgrep-f: Likewise.
* Makefile.am (EXTRA_DIST): List tests/init.sh, not test-lib.sh.
2010-01-08 19:22:11 +01:00
Jim Meyering
00e333a22c maint: update all FSF copyright year lists to include 2010
Use this command:
git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \
env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
2010-01-01 16:16:21 +01:00
Jim Meyering
98149fd7d5 zdiff would exit 2 (error) rather than 1 for differences
* zdiff.in: Save and restore cmp's exit status around a case
statement that would otherwise clobber its value.
* NEWS (Bug fixes): Mention it.
* tests/zdiff: New test; exercise both bugs.
* tests/test-lib.sh: New file.  From coreutils.
* Makefile.am (EXTRA_DIST): Add tests/test-lib.sh.
(TESTS): Add tests/zdiff.
(TESTS_ENVIRONMENT): Define.  From coreutils.
(EXTRA_DIST): Append all $(TESTS).
2009-10-09 15:22:09 +02:00