# HG changeset patch # User Matt Harbison # Date 1512255173 18000 # Node ID 8feef8ef8389a3b544e0a74624f1efc3a8d85d35 # Parent d4b108fdf4231565ec15656ba0f7e8d96fe7ff29 tests: trivial fixes for Windows diff -r d4b108fdf423 -r 8feef8ef8389 tests/test-dispatch.t --- a/tests/test-dispatch.t Wed Nov 29 08:40:25 2017 +0530 +++ b/tests/test-dispatch.t Sat Dec 02 17:52:53 2017 -0500 @@ -83,11 +83,12 @@ $ mkdir -p badrepo/.hg $ echo 'invalid-syntax' > badrepo/.hg/hgrc $ hg log -b -Rbadrepo default - hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax + hg: parse error at badrepo/.hg/hgrc:1: invalid-syntax (glob) [255] $ hg log -b --cwd=inexistent default - abort: No such file or directory: 'inexistent' + abort: No such file or directory: 'inexistent' (no-windows !) + abort: The system cannot find the file specified: 'inexistent' (windows !) [255] $ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback' diff -r d4b108fdf423 -r 8feef8ef8389 tests/test-status-color.t --- a/tests/test-status-color.t Wed Nov 29 08:40:25 2017 +0530 +++ b/tests/test-status-color.t Sat Dec 02 17:52:53 2017 -0500 @@ -31,19 +31,19 @@ [status.unknown|? ][status.unknown|in_root] HGPLAIN disables color $ HGPLAIN=1 hg status --color=debug - ? a/1/in_a_1 - ? a/in_a - ? b/1/in_b_1 - ? b/2/in_b_2 - ? b/in_b + ? a/1/in_a_1 (glob) + ? a/in_a (glob) + ? b/1/in_b_1 (glob) + ? b/2/in_b_2 (glob) + ? b/in_b (glob) ? in_root HGPLAINEXCEPT=color does not disable color $ HGPLAINEXCEPT=color hg status --color=debug - [status.unknown|? ][status.unknown|a/1/in_a_1] - [status.unknown|? ][status.unknown|a/in_a] - [status.unknown|? ][status.unknown|b/1/in_b_1] - [status.unknown|? ][status.unknown|b/2/in_b_2] - [status.unknown|? ][status.unknown|b/in_b] + [status.unknown|? ][status.unknown|a/1/in_a_1] (glob) + [status.unknown|? ][status.unknown|a/in_a] (glob) + [status.unknown|? ][status.unknown|b/1/in_b_1] (glob) + [status.unknown|? ][status.unknown|b/2/in_b_2] (glob) + [status.unknown|? ][status.unknown|b/in_b] (glob) [status.unknown|? ][status.unknown|in_root] hg status with template