D4909: tests: deal with differences in tic from ncurses and NetBSD
joerg.sonnenberger (Joerg Sonnenberger)
phabricator at mercurial-scm.org
Tue Oct 9 08:23:04 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG34d9846023e6: tests: deal with differences in tic from ncurses and NetBSD (authored by joerg.sonnenberger, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4909?vs=11747&id=11769
REVISION DETAIL
https://phab.mercurial-scm.org/D4909
AFFECTED FILES
tests/test-status-color.t
CHANGE DETAILS
diff --git a/tests/test-status-color.t b/tests/test-status-color.t
--- a/tests/test-status-color.t
+++ b/tests/test-status-color.t
@@ -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)
To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list