aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tee/tests/sigint.orch
blob: 2fc0b32c61fb8a7498d3cc03f12f219b99c16adb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- We expect the caller to have spawned the appropriate application
write "text\r"
match "text"

write "^C"

-- If SIGINT isn't being ignored, we'll bail out somewhere in the process of
-- writing to the pty or trying to read from it to perform the following match.
write "text\r"
match "text"

-- Finally, just close it out cleanly.
write "^D"
eof()