comparison tests/test-nointerrupt.t @ 48255:8c34edb1ad10

backout: backed out changeset 6edc8800dbc3 Same as the previous changeset. Differential Revision: https://phab.mercurial-scm.org/D11693
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 19 Oct 2021 19:04:11 +0200
parents 6edc8800dbc3
children 8c75ae3f0eea
comparison
equal deleted inserted replaced
48254:b874e8d81a98 48255:8c34edb1ad10
64 Test ctrl-c 64 Test ctrl-c
65 $ rm -f $SYNC_FILE $DONE_FILE 65 $ rm -f $SYNC_FILE $DONE_FILE
66 $ sh -c "../send-signal.sh INT" & 66 $ sh -c "../send-signal.sh INT" &
67 $ hg wait-signal 67 $ hg wait-signal
68 interrupted! 68 interrupted!
69 [250] 69 [255]
70 70
71 $ cat >> $HGRCPATH << EOF 71 $ cat >> $HGRCPATH << EOF
72 > [experimental] 72 > [experimental]
73 > nointerrupt = yes 73 > nointerrupt = yes
74 > EOF 74 > EOF
75 75
76 $ rm -f $SYNC_FILE $DONE_FILE 76 $ rm -f $SYNC_FILE $DONE_FILE
77 $ sh -c "../send-signal.sh INT" & 77 $ sh -c "../send-signal.sh INT" &
78 $ hg wait-signal 78 $ hg wait-signal
79 interrupted! 79 interrupted!
80 [250] 80 [255]
81 81
82 $ cat >> $HGRCPATH << EOF 82 $ cat >> $HGRCPATH << EOF
83 > [experimental] 83 > [experimental]
84 > nointerrupt-interactiveonly = False 84 > nointerrupt-interactiveonly = False
85 > EOF 85 > EOF
89 $ hg wait-signal 89 $ hg wait-signal
90 shutting down cleanly 90 shutting down cleanly
91 press ^C again to terminate immediately (dangerous) 91 press ^C again to terminate immediately (dangerous)
92 end of unsafe operation 92 end of unsafe operation
93 interrupted! 93 interrupted!
94 [250] 94 [255]