Add a bit of a delay to signals.expect test

Unclear why this is needed.
This commit is contained in:
ridiculousfish 2020-03-03 01:11:10 -08:00
parent 3774edba93
commit 593c43663c

View file

@ -7,6 +7,7 @@ expect_prompt
send_line "function stuffs --on-signal INT; echo SIGINT spotted; end" send_line "function stuffs --on-signal INT; echo SIGINT spotted; end"
expect_prompt expect_prompt
after 20
exec -- kill -INT $pid exec -- kill -INT $pid
expect "SIGINT spotted" expect "SIGINT spotted"