diff options
| author | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-22 00:54:51 +0200 |
|---|---|---|
| committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2018-10-26 11:05:25 +0200 |
| commit | 1a674a036bf92739bc79dc54596b9340e8b2ddea (patch) | |
| tree | 52c9d14e4cd70f51a98ec4f41b5342eedc932e2b /scripts/git-hooks/commit-msg | |
| parent | test: simplify redundant code (diff) | |
| download | coreutils-1a674a036bf92739bc79dc54596b9340e8b2ddea.tar.gz coreutils-1a674a036bf92739bc79dc54596b9340e8b2ddea.zip | |
test: add -N unary operator
Bash knows 'test -N FILE'. Add it to GNU 'test' as well.
* src/test.c (unary_operator): Add a case for 'N'.
(usage): Document it.
* doc/coreutils.texi (node File characteristic tests): Likewise.
* NEWS (New features): Likewise.
* tests/misc/test-N.sh: Add a test.
* tests/local.mk (all_tests): Reference it.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
