]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: honor CLICOLOR_FORCE to force coloring in run-tests.sh
authorThomas Haller <thaller@redhat.com>
Thu, 14 Sep 2023 13:16:07 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 15 Sep 2023 14:29:45 +0000 (16:29 +0200)
commitffbcf6cc7976533cd3e2dc5eae68aa9f82867889
tree13303335fd6c011de554cd717ff9fe77f50f7597
parent45cc3d9b238dadfd9929f0de14139238077ddb03
tests/shell: honor CLICOLOR_FORCE to force coloring in run-tests.sh

We honor NO_COLOR= to disable coloring, let's also honor CLICOLOR_FORCE=
to enable it.

The purpose will be for `make` calling the script and redirecting to a
file, while enabling colors.

See-also: https://bixense.com/clicolors/

Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/run-tests.sh