# HG changeset patch # User Joerg Sonnenberger # Date 2018-10-08 19:51:20 # Node ID 34d9846023e6de74ce64493efd1538379c4c6e5c # Parent 12a72729678e0bc7da341e4cfa91aba7cbc3db3f tests: deal with differences in tic from ncurses and NetBSD Differential Revision: https://phab.mercurial-scm.org/D4909 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 @@ hg status -A (with terminfo color): #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)