diff tests/test-nointerrupt.t @ 48186:6edc8800dbc3

dispatch: use detailed exit code 250 for keyboard interrupt Among our users at Google, we're still seeing several percent of commands fail with exit code 255. I suspect keyboard interrupts is an important remaining reason. This is a resend of D10086 with some fixes for pager handling added ahead of it. Differential Revision: https://phab.mercurial-scm.org/D11628
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 02 Mar 2021 09:33:25 -0800
parents 8892f604e242
children 8c34edb1ad10
line wrap: on
line diff
--- a/tests/test-nointerrupt.t	Fri Oct 08 13:36:02 2021 -0700
+++ b/tests/test-nointerrupt.t	Tue Mar 02 09:33:25 2021 -0800
@@ -66,7 +66,7 @@
   $ sh -c "../send-signal.sh INT" &
   $ hg wait-signal
   interrupted!
-  [255]
+  [250]
 
   $ cat >> $HGRCPATH << EOF
   > [experimental]
@@ -77,7 +77,7 @@
   $ sh -c "../send-signal.sh INT" &
   $ hg wait-signal
   interrupted!
-  [255]
+  [250]
 
   $ cat >> $HGRCPATH << EOF
   > [experimental]
@@ -91,4 +91,4 @@
   press ^C again to terminate immediately (dangerous)
   end of unsafe operation
   interrupted!
-  [255]
+  [250]