]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: ensure option aliases are supported
authorPádraig Brady <P@draigBrady.com>
Sun, 7 Sep 2025 12:09:06 +0000 (13:09 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 7 Sep 2025 12:53:22 +0000 (13:53 +0100)
commit42c4578b49afaf3dc8de884262f34e4a19066860
treea98dcf559aa6ff5718f530e486a778cbe4abd1d8
parent9eddec78661dca44b1e5de31b3e262400020c76f
tests: ensure option aliases are supported

This implicitly tests the previous commit to
adjust how date(1) handles multiple named format options.
Currrently it tests the following are supported:

  chown  --quiet  --silent
  date  --rfc-email  --rfc-822  --rfc-2822
  date  --uct  --utc  --universal
  dircolors  --bourne-shell  --sh
  dircolors  --csh  --c-shell
  head  --quiet  --silent

* tests/misc/option-aliases.sh: A new test to ensure all
option aliases supported by a command are supported.
* Reference the new test.
tests/local.mk
tests/misc/option-aliases.sh [new file with mode: 0755]