diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:37:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 01:28:28 -0300 |
| commit | 21277ffc6b08f458eb9a1210a3818e40b14293d2 (patch) | |
| tree | 20feccca94b87f4e75a77eaf18c1699775b9a608 /test/snapshots/cmdexit.snap | |
| parent | e7cf866a3841398880ca94b0a00841ee82e1d227 (diff) | |
| download | pardes-21277ffc6b08f458eb9a1210a3818e40b14293d2.tar.gz pardes-21277ffc6b08f458eb9a1210a3818e40b14293d2.zip | |
tests: the terminal snapshot scripts (19: tty ttyclick ttyedit ttyfollow ttyhelp ttylook ttyonly ttypaste ttyprompt ttytaken psearch reflow respawn scroll cmdexit look-fd-deep ghostty-mid exec exec-bigdrag) are process cases, test/process/tty_terminals.zig, their goldens unchanged; checked against the old runner by Ctrl-b no longer leaving tty mode (the same 12 fail in both)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/cmdexit.snap')
| -rw-r--r-- | test/snapshots/cmdexit.snap | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/snapshots/cmdexit.snap b/test/snapshots/cmdexit.snap deleted file mode 100644 index e9f39bfd..00000000 --- a/test/snapshots/cmdexit.snap +++ /dev/null @@ -1,28 +0,0 @@ -# A command pane's command is over when its process exits, not when its pty -# closes. A job it leaves in the background holds the pty open, and the pane -# still says `exit 0` as soon as the command itself is done; a command that -# lets go of its terminal and runs on is not hung up at its pty's end, and -# says how it ended when it does. -file cmds.txt sleep 30 & echo BG''STARTED\nexec </dev/null >/dev/null 2>&1; sleep 1; false -config Verbose off -start 31 120 cmds.txt -wait 8000 cmds.txt -stable 700 20000 -snap opened -# line 1: `sleep 30` keeps the pty, and the pane says exit 0 regardless -press middle 7 4 -drag middle 34 4 -release middle 34 4 -wait 10000 exit 0 -stable 700 15000 -snap background -# line 2, in a second pane: the first's command is done but its background -# `sleep 30` lives on (job control gives it its own group) and still holds -# that pane's pty; here the end of file comes at once, and the exit a second -# later, from `false` -press middle 7 5 -drag middle 54 5 -release middle 54 5 -wait 10000 exit 1 -stable 700 15000 -snap letgo |
