Mercurial > hg
changeset 40097:34d9846023e6
tests: deal with differences in tic from ncurses and NetBSD
Differential Revision: https://phab.mercurial-scm.org/D4909
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Mon, 08 Oct 2018 21:51:20 +0200 |
parents | 12a72729678e |
children | 8a08aefa9273 |
files | tests/test-status-color.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-status-color.t Mon Oct 08 20:07:13 2018 +0200 +++ b/tests/test-status-color.t Mon Oct 08 21:51:20 2018 +0200 @@ -240,8 +240,8 @@ #if tic - $ mkdir "$TESTTMP/terminfo" - $ TERMINFO="$TESTTMP/terminfo" tic "$TESTDIR/hgterm.ti" + $ tic -o "$TESTTMP/terminfo" "$TESTDIR/hgterm.ti" + $ ln -s "$TESTTMP/terminfo" "$TESTTMP/terminfo.cdb" $ TERM=hgterm TERMINFO="$TESTTMP/terminfo" hg status --config color.mode=terminfo -A \x1b[30m\x1b[32m\x1b[1mA \x1b[30m\x1b[30m\x1b[32m\x1b[1madded\x1b[30m (esc) \x1b[30m\x1b[32m\x1b[1mA \x1b[30m\x1b[30m\x1b[32m\x1b[1mcopied\x1b[30m (esc)