Skip to content

redo fix for test-lib.sh color support

Richard Hansen git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "test-lib.sh: do tests for color support after changing HOME"t/test-lib.sh+43 -470 replies
2/2test-lib.sh: fix color support when tput needs ~/.terminfot/test-lib.sh+28 -2510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] redo fix for test-lib.sh color support

Commit 102fc80d fixed a bug where tput was failing because it needed to read ~/.terminfo after HOME was changed. However, that commit is buggy, and it unnecessarily disables color support when tput needs to read from ~/.terminfo.

This series does two things:

* revert the buggy fix
* fix it properly, I hope :)

Richard Hansen (2):
Revert "test-lib.sh: do tests for color support after changing HOME" test-lib.sh: fix color support when tput needs ~/.terminfo

 t/test-lib.sh | 103 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 51 insertions(+), 52 deletions(-)
Signature · 1 line
2.4.3