diff --git a/tests/test-globalopts.t b/tests/test-globalopts.t --- a/tests/test-globalopts.t +++ b/tests/test-globalopts.t @@ -263,8 +263,10 @@ Testing --traceback: - $ hg --cwd c --config x --traceback id 2>&1 | grep -i 'traceback' - Traceback (most recent call last): +chg only outputs the line corresponding to the abort. Therefore, for +compatibility with chg, only testing the last line. + $ hg --cwd c --config x --traceback id 2>&1 | tail -n 1 + abort: malformed --config option: 'x' (use --config section.name=value) Testing --time: