changeset 6098:442771901e01

tests: update exit codes for dealing with RepoLookupError CORE-TEST-OUTPUT-UPDATE: 8c4881c07f57
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 03 Dec 2021 10:46:49 +0300
parents ff19717f985e
children 435dfa125d89
files tests/test-fold.t tests/test-topic-push.t tests/test-topic.t
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fold.t	Thu Nov 18 17:40:48 2021 +0300
+++ b/tests/test-fold.t	Fri Dec 03 10:46:49 2021 +0300
@@ -146,7 +146,7 @@
   $ hg fold --from 6 # want to run hg fold 6
   abort: hidden revision '6' was rewritten as: 198b5c405d01
   (use --hidden to access hidden revisions)
-  [255]
+  [10]
 
   $ hg log -G
   @  11 - 198b5c405d01 r5 [debugbuilddag] (draft) bm1
--- a/tests/test-topic-push.t	Thu Nov 18 17:40:48 2021 +0300
+++ b/tests/test-topic-push.t	Fri Dec 03 10:46:49 2021 +0300
@@ -211,10 +211,10 @@
 
   $ hg outgoing draft --topic nonexistent
   abort: topic 'nonexistent' does not exist
-  [255]
+  [10]
   $ hg push draft --topic nonexistent
   abort: topic 'nonexistent' does not exist
-  [255]
+  [10]
 
   $ hg up babar
   switching to topic babar
--- a/tests/test-topic.t	Thu Nov 18 17:40:48 2021 +0300
+++ b/tests/test-topic.t	Fri Dec 03 10:46:49 2021 +0300
@@ -645,7 +645,7 @@
   $ hg pull ../pinky -r narf
   pulling from ../pinky
   abort: unknown revision 'narf'
-  [255]
+  [10]
   $ hg pull ../pinky -r default
   pulling from ../pinky
   searching for changes