t6006: drop "always" color config tests
authorJeff King <peff@peff.net>
Tue, 3 Oct 2017 13:44:27 +0000 (09:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Oct 2017 02:32:56 +0000 (11:32 +0900)
commitc5bdfe677cfab5b2e87771c35565d44d3198efda
tree11772dade47b76afdef24c6a25558e6f7359dc1c
parent0fcf760e3cc336d28e0ab30e829ea33d37b3ae37
t6006: drop "always" color config tests

We test the %C() format placeholders with a variety of
color-inducing options, including "--color" and
"-c color.ui=always". In preparation for the behavior of
"always" changing, we need to do something with those
"always" tests.

We can drop ones that expect "always" to turn on color even
to a file, as that will become a synonym for "auto", which
is already tested.

For the "--no-color" test, we need to make sure that color
would otherwise be shown. To do this, we can use
test_terminal, which enables colors in the default setup.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6006-rev-list-format.sh