diff --git a/tests/signals.expect b/tests/signals.expect index 95f29538e..e614ff9bc 100644 --- a/tests/signals.expect +++ b/tests/signals.expect @@ -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.