test-pager: make the test compatible with chg

D911 tried to make this test compatible with chg but instead resulted
in the test being flaky for chg. For now, disabling this test for chg because
it seems difficult to fix the test. This will allow for the continuous build
setup for chg.

Test Plan:
Ran the test 'test-pager.t' with and without the '--chg' option.

Differential Revision: https://phab.mercurial-scm.org/D1128
This commit is contained in:
Saurabh Singh 2017-10-16 17:41:37 -07:00
parent 96035ad997
commit 9b1ec80f9b

View File

@ -216,16 +216,6 @@ use shell=True in the subprocess call:
date: Thu Jan 01 00:00:00 1970 +0000
summary: modify a 8
#else
Currently, chg has its own runpager implementation, which does not show the
"missing pager" message. The error message is globed out since the shell could
print different message.
$ hg log --limit 3 --config pager.pager=this-command-better-never-exist
/bin/sh: this-command-better-never-exist: command not found (?)
* (glob) (?)
killed!
[255]
#endif
A complicated pager command gets worse behavior. Bonus points if you can