Mercurial > hg-stable
changeset 34841:6bfe43dd20eb
test-extension: make the test compatible with chg
This test fails when run with chg. This commit just makes the test chg
aware by fixing the output of some of the tests.
Test Plan:
Ran the test 'test-extension.t' with and without '--chg' option.
Differential Revision: https://phab.mercurial-scm.org/D1160
author | Saurabh Singh <singhsrb@fb.com> |
---|---|
date | Tue, 17 Oct 2017 11:07:18 -0700 |
parents | 88624b40a9cb |
children | 8bce3e51b101 |
files | tests/test-extension.t |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-extension.t Tue Oct 17 11:35:58 2017 -0700 +++ b/tests/test-extension.t Tue Oct 17 11:07:18 2017 -0700 @@ -42,11 +42,13 @@ uisetup called reposetup called for a ui == repo.ui + reposetup called for a (chg !) + ui == repo.ui (chg !) Foo $ cd .. $ hg clone a b - uisetup called + uisetup called (no-chg !) reposetup called for a ui == repo.ui reposetup called for b @@ -55,7 +57,7 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg bar - uisetup called + uisetup called (no-chg !) Bar $ echo 'foobar = !' >> $HGRCPATH @@ -67,6 +69,8 @@ uisetup called reposetup called for a ui == repo.ui + reposetup called for a (chg !) + ui == repo.ui (chg !) Foo $ echo 'barfoo = !' >> $HGRCPATH @@ -1525,6 +1529,7 @@ $ echo "reposetuptest = $TESTTMP/reposetuptest.py" >> src/.hg/hgrc $ hg -R src status reposetup() for $TESTTMP/reposetup-test/src (glob) + reposetup() for $TESTTMP/reposetup-test/src (glob) (chg !) $ hg clone -U src clone-dst1 reposetup() for $TESTTMP/reposetup-test/src (glob)