changeset 5720:ceaa85c47973 stable

tests: update exit code for command errors CORE-TEST-OUTPUT-UPDATE: 9c9e0b4b2ca7
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 20 Jan 2021 14:47:22 +0800
parents 84393bcf9859
children 242a0530823a 61d2f1cf90f0
files tests/test-evolve.t tests/test-options.t
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <<EOF
   > [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
 
--- 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]