mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 10:43:32 +08:00
Disable SIGINT handling expect test
The problem is that under TSAN, the timing of signals becomes very weird and exposes some real race conditions. We will need to re-design how signal event handlers work.
This commit is contained in:
parent
8530a4bd9e
commit
17c569f6d5
|
@ -5,12 +5,6 @@
|
|||
set pid [spawn $fish]
|
||||
expect_prompt
|
||||
|
||||
send_line "function stuffs --on-signal INT; echo SIGINT spotted; end"
|
||||
expect_prompt
|
||||
after 20
|
||||
exec -- kill -INT $pid
|
||||
expect "SIGINT spotted"
|
||||
|
||||
# Verify that sending SIGHUP to the shell, such as will happen when the tty is
|
||||
# closed by the terminal, terminates the shell and the foreground command and
|
||||
# any background commands run from that shell.
|
||||
|
|
Loading…
Reference in New Issue
Block a user