test-hgweb-annotate-whitespace: make test compatible with chg
authorSaurabh Singh <singhsrb@fb.com>
Mon, 16 Oct 2017 13:06:33 -0700
changeset 34792 3b4b38130689
parent 34791 03033e44ff5d
child 34793 3df59451cdec
test-hgweb-annotate-whitespace: make test compatible with chg D946 fixed a bunch of tests which had the same root cause. Please see that for details. This seems to be one of the newer tests which fails because of the same reason. Test Plan: Ran the test 'test-hgweb-annotate-whitespace.t' with and without the '--chg' option. Differential Revision: https://phab.mercurial-scm.org/D1124
tests/test-hgweb-annotate-whitespace.t
--- a/tests/test-hgweb-annotate-whitespace.t	Mon Oct 16 17:41:37 2017 -0700
+++ b/tests/test-hgweb-annotate-whitespace.t	Mon Oct 16 13:06:33 2017 -0700
@@ -76,7 +76,7 @@
 
   $ hg serve -p $HGPORT -d --pid-file hg.pid
   $ cat hg.pid >> $DAEMON_PIDS
-  $ hg --config annotate.ignorews=true serve -p $HGPORT1 -d --pid-file hg.pid
+  $ hg serve --config annotate.ignorews=true -p $HGPORT1 -d --pid-file hg.pid
   $ cat hg.pid >> $DAEMON_PIDS
   $ cd ..