test: add string operators added by POSIX 2024
commitee231019e185732780c72b46616db64a836f50f0
authorCollin Funk <collin.funk1@gmail.com>
Sat, 2 Nov 2024 03:49:16 +0000 (1 20:49 -0700)
committerPádraig Brady <P@draigBrady.com>
Sat, 2 Nov 2024 14:03:49 +0000 (2 14:03 +0000)
treeb36ba21fa12c66e8d5fff2b860efd4f8aae6ff0a
parentf48123ef277adc1878e1b1d8f2906ac817f57014
test: add string operators added by POSIX 2024

* src/test.c (binop): Recognize the ">" and "<" operators.
(three_arguments): Likewise.
(binary_operator): Implement the "<" and ">" operators.
(usage): Add operators to --help output.
* tests/test/test.pl (@Tests): Add functionality tests.
* doc/coreutils.texi (test invocation, String tests): Document new
operators.
* NEWS: Mention the new feature.
NEWS
doc/coreutils.texi
src/test.c
tests/test/test.pl