Mercurial > hg
changeset 34443:f2268edf38d5
test-globalopts: make the test compatible with chg
The test fails when run with the '--chg' option. Therefore, this
commit modifies the test to make it compatible with chg.
Test Plan:
Ran 'test-globalopts.t' with and without the '--chg' option.
Differential Revision: https://phab.mercurial-scm.org/D913
author | Saurabh Singh <singhsrb@fb.com> |
---|---|
date | Tue, 03 Oct 2017 11:10:03 -0700 |
parents | 73d8a5283f87 |
children | df78b1a24094 |
files | tests/test-globalopts.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-globalopts.t Mon Oct 02 16:11:57 2017 -0700 +++ b/tests/test-globalopts.t Tue Oct 03 11:10:03 2017 -0700 @@ -263,8 +263,14 @@ Testing --traceback: +#if no-chg $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' Traceback (most recent call last): +#else +Traceback for '--config' errors not supported with chg. + $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' + [1] +#endif Testing --time: