Patchwork D1128: test-pager: make the test compatible with chg

login
register
mail settings
Submitter phabricator
Date Oct. 17, 2017, 1:47 a.m.
Message ID <04713457a02210491bd8a66593f7518d@localhost.localdomain>
Download mbox | patch
Permalink /patch/25057/
State Not Applicable
Headers show

Comments

phabricator - Oct. 17, 2017, 1:47 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4effa078d157: test-pager: make the test compatible with chg (authored by singhsrb, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1128?vs=2853&id=2871

REVISION DETAIL
  https://phab.mercurial-scm.org/D1128

AFFECTED FILES
  tests/test-pager.t

CHANGE DETAILS




To: singhsrb, #hg-reviewers, quark, durin42
Cc: durin42, quark, mercurial-devel

Patch

diff --git a/tests/test-pager.t b/tests/test-pager.t
--- a/tests/test-pager.t
+++ b/tests/test-pager.t
@@ -216,16 +216,6 @@ 
   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