Mercurial > hg
comparison tests/test-status-color.t @ 16350:4f795f5fbb0b stable
tests: make tests work if directory contains special characters
With this quoting tests will work e.g. in "/tmp/foo bar/mercurial/".
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 03 Apr 2012 19:06:35 +0200 |
parents | d09ea5bbc9a4 |
children | f2719b387380 |
comparison
equal
deleted
inserted
replaced
16349:425f1fbcfb94 | 16350:4f795f5fbb0b |
---|---|
167 \x1b[0;0mC .hgignore\x1b[0m (esc) | 167 \x1b[0;0mC .hgignore\x1b[0m (esc) |
168 \x1b[0;0mC modified\x1b[0m (esc) | 168 \x1b[0;0mC modified\x1b[0m (esc) |
169 | 169 |
170 hg status -A (with terminfo color): | 170 hg status -A (with terminfo color): |
171 | 171 |
172 $ mkdir $TESTTMP/terminfo | 172 $ mkdir "$TESTTMP/terminfo" |
173 $ TERMINFO=$TESTTMP/terminfo tic $TESTDIR/hgterm.ti | 173 $ TERMINFO="$TESTTMP/terminfo" tic "$TESTDIR/hgterm.ti" |
174 $ TERM=hgterm TERMINFO=$TESTTMP/terminfo hg status --config color.mode=terminfo --color=always -A | 174 $ TERM=hgterm TERMINFO="$TESTTMP/terminfo" hg status --config color.mode=terminfo --color=always -A |
175 \x1b[30m\x1b[32m\x1b[1mA added\x1b[30m (esc) | 175 \x1b[30m\x1b[32m\x1b[1mA added\x1b[30m (esc) |
176 \x1b[30m\x1b[32m\x1b[1mA copied\x1b[30m (esc) | 176 \x1b[30m\x1b[32m\x1b[1mA copied\x1b[30m (esc) |
177 \x1b[30m\x1b[30m modified\x1b[30m (esc) | 177 \x1b[30m\x1b[30m modified\x1b[30m (esc) |
178 \x1b[30m\x1b[31m\x1b[1mR removed\x1b[30m (esc) | 178 \x1b[30m\x1b[31m\x1b[1mR removed\x1b[30m (esc) |
179 \x1b[30m\x1b[36m\x1b[1m\x1b[4m! deleted\x1b[30m (esc) | 179 \x1b[30m\x1b[36m\x1b[1m\x1b[4m! deleted\x1b[30m (esc) |