# HG changeset patch # User Anton Shestakov # Date 1611125242 -28800 # Node ID ceaa85c47973c170501d0c032c9379ab55b1c8d1 # Parent 84393bcf9859407535d375c8eafea4322fe6560e tests: update exit code for command errors CORE-TEST-OUTPUT-UPDATE: 9c9e0b4b2ca7 diff -r 84393bcf9859 -r ceaa85c47973 tests/test-evolve.t --- a/tests/test-evolve.t Wed Jan 20 14:45:30 2021 +0800 +++ b/tests/test-evolve.t Wed Jan 20 14:47:22 2021 +0800 @@ -1154,11 +1154,11 @@ $ hg next hg: unknown command 'next' (use 'hg help' for a list of commands) - [255] + [10] $ hg fold hg: unknown command 'fold' (use 'hg help' for a list of commands) - [255] + [10] Enabling commands selectively, only fold enabled, next is still unknown $ cat >> $HGRCPATH < [experimental] @@ -1171,7 +1171,7 @@ $ hg next hg: unknown command 'next' (use 'hg help' for a list of commands) - [255] + [10] Shows "use 'hg evolve' to..." hints iff the evolve command is enabled diff -r 84393bcf9859 -r ceaa85c47973 tests/test-options.t --- a/tests/test-options.t Wed Jan 20 14:45:30 2021 +0800 +++ b/tests/test-options.t Wed Jan 20 14:47:22 2021 +0800 @@ -27,4 +27,4 @@ $ hg prune hg: unknown command 'prune' (use 'hg help' for a list of commands) - [255] + [10]