Mercurial > hg
changeset 47807:bc74cb9a8e40 stable
pager: account for flakiness in Windows output
This test case is cursed and probably not worth losing more time over. This
makes apparent what the intended behavior is while still removing the flakiness
from the CI.
Differential Revision: https://phab.mercurial-scm.org/D11257
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 05 Aug 2021 18:25:35 +0200 |
parents | d5d46dcd356b |
children | 23921bc857b5 |
files | tests/test-pager.t |
diffstat | 1 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pager.t Fri Jul 23 10:45:08 2021 +0200 +++ b/tests/test-pager.t Thu Aug 05 18:25:35 2021 +0200 @@ -219,27 +219,27 @@ #endif A complicated pager command gets worse behavior. Bonus points if you can -improve this. Windows apparently does this better? +improve this. Windows apparently does this better, but only sometimes? #if windows $ hg log --limit 3 \ > --config pager.pager='this-command-better-never-exist --seriously' \ > 2>/dev/null || true - \x1b[0;33mchangeset: 10:46106edeeb38\x1b[0m (esc) - tag: tip - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify a 10 - - \x1b[0;33mchangeset: 9:6dd8ea7dd621\x1b[0m (esc) - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify a 9 - - \x1b[0;33mchangeset: 8:cff05a6312fe\x1b[0m (esc) - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify a 8 - + \x1b[0;33mchangeset: 10:46106edeeb38\x1b[0m (esc) (?) + tag: tip (?) + user: test (?) + date: Thu Jan 01 00:00:00 1970 +0000 (?) + summary: modify a 10 (?) + (?) + \x1b[0;33mchangeset: 9:6dd8ea7dd621\x1b[0m (esc) (?) + user: test (?) + date: Thu Jan 01 00:00:00 1970 +0000 (?) + summary: modify a 9 (?) + (?) + \x1b[0;33mchangeset: 8:cff05a6312fe\x1b[0m (esc) (?) + user: test (?) + date: Thu Jan 01 00:00:00 1970 +0000 (?) + summary: modify a 8 (?) + (?) #else $ hg log --limit 3 \ > --config pager.pager='this-command-better-never-exist --seriously' \