xref: /freebsd/usr.bin/tee/tests/sigint.orch (revision 4757b351ea9d59d71d4a38b82506d2d16fcd560d)
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