]> Savannah Git Hosting - gnulib.git/commit
sigpipe tests: Modernize use of 'head'.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Jan 2023 12:40:48 +0000 (13:40 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 16 Jan 2023 12:40:48 +0000 (13:40 +0100)
commitd2b4c7dd124f96fbf7b788a7895677698fc5694c
tree2be9c67d75953e0184e3df01daf42f5186b51e11
parentcc3f5978e78cc598c6f1e311daa663f8dfc6f85f
sigpipe tests: Modernize use of 'head'.

POSIX no longer requires support for ‘head -1’.

* tests/test-sigpipe.sh: Use ‘head -n1’ rather than ‘head -1’.
* tests/test-sigpipe.c (main): Likewise.
* lib/git-merge-changelog.c (main): Update comment accordingly.
ChangeLog