fish-shell/tests/checks/sigint.fish
2019-10-15 22:33:53 -07:00

11 lines
263 B
Fish

#RUN: %fish -C "set helper %fish_test_helper" %s
# Ensure we can break from a while loop.
echo About to sigint
$helper sigint_parent &
while true ; end
echo I should not be printed because I got sigint
#CHECK: About to sigint
#CHECKERR: Sent SIGINT to {{\d*}}