Merge branch 'rh/test-color-avoid-terminfo-in-original-home'
commit601ca9287d9ba5c34494cac3b99b25c77a5d8674
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2015 20:36:45 +0000 (14 12:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2015 20:36:45 +0000 (14 12:36 -0800)
treeb265801a68990603a9f0e4ee937f155e400a31d0
parent9920c718254d946e685ef1295ff9ea0c14bac9cf
parent102fc80d32094ad6598b17ab9d607516ee8edc4a
Merge branch 'rh/test-color-avoid-terminfo-in-original-home'

We try to see if "tput" gives a useful result before switching TERM
to dumb and moving HOME to point to our fake location for stability
of the tests, and then use the command when coloring the output
from the tests, but there is no guarantee "tput" works after
switching HOME.

* rh/test-color-avoid-terminfo-in-original-home:
  test-lib.sh: do tests for color support after changing HOME
  test-lib: use 'test ...' instead of '[ ... ]'