xref: /freebsd/usr.bin/tee/tests/sigint.orch (revision 4b15965daa99044daf184221b7c283bf7f2d7e66)
1-- We expect the caller to have spawned the appropriate application
2write "text\r"
3match "text"
4
5write "^C"
6
7-- If SIGINT isn't being ignored, we'll bail out somewhere in the process of
8-- writing to the pty or trying to read from it to perform the following match.
9write "text\r"
10match "text"
11
12-- Finally, just close it out cleanly.
13write "^D"
14eof()
15