]> rtime.felk.cvut.cz Git - git.git/commitdiff
Merge branch 'rh/test-color-avoid-terminfo-in-original-home'
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2015 20:36:45 +0000 (12:36 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2015 20:36:45 +0000 (12:36 -0800)
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 '[ ... ]'


Trivial merge