changeset 5703:bf8638b5c526

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 b56d07c41044
children bc5d4d46192e
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
@@ -1171,11 +1171,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]
@@ -1188,7 +1188,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]