diff --git a/tests/signals.expect b/tests/signals.expect index 8fba5b7c8..95f29538e 100644 --- a/tests/signals.expect +++ b/tests/signals.expect @@ -7,6 +7,7 @@ expect_prompt send_line "function stuffs --on-signal INT; echo SIGINT spotted; end" expect_prompt +after 20 exec -- kill -INT $pid expect "SIGINT spotted"