From: Jeff King Date: Tue, 3 Oct 2017 13:42:15 +0000 (-0400) Subject: t3701: use test-terminal to collect color output X-Git-Tag: v2.15.0-rc2~7^2~4^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8552972b133ee5147f3af11ab21cf4b1d04e97e5?hp=8552972b133ee5147f3af11ab21cf4b1d04e97e5 t3701: use test-terminal to collect color output When testing whether "add -p" can generate colors, we set color.ui to "always". This isn't a very good test, as in the real-world a user typically has "auto" coupled with stdout going to a terminal (and it's plausible that this could mask a real bug in add--interactive if we depend on plumbing's isatty check). Let's switch to test_terminal, which gives us a more realistic environment. This also prepare us for future changes to the "always" color option. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---