t7508: use test_terminal for color output
authorJeff King <peff@peff.net>
Tue, 3 Oct 2017 13:43:29 +0000 (09:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Oct 2017 02:32:56 +0000 (11:32 +0900)
commit01c94e9001d5e78be32c64728058428fdb2febb4
tree39b492befa03a6d234074aa7ecc6ba4f9cfca68b
parent8552972b133ee5147f3af11ab21cf4b1d04e97e5
t7508: use test_terminal for color output

This script tests the output of status with various formats
when color is enabled. It uses the "always" setting so that
the output is valid even though we capture it in a file.
Using test_terminal gives us a more realistic environment,
and prepares us for the behavior of "always" changing.

Arguably we are testing less than before, since "auto" is
already the default, and we can no longer tell if the config
is actually doing anything.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7508-status.sh