summaryrefslogtreecommitdiff
path: root/test/snapshots/nested-optout.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-06 18:11:36 -0300
committerGabriel Schneider <[email protected]>2026-09-07 13:59:12 -0300
commit60367d8fe23f6af98ec28e3cf6c2094dfe332df0 (patch)
tree310fc734173cf771881f4691c71909135fadde97 /test/snapshots/nested-optout.snap
parentfa82cac885cb4738fe36d1e49b4749b5a3e31a4a (diff)
downloadpardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.tar.gz
pardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.zip
Refactor panes and filesystem; replace FUSE with 9P
Consolidate pane, layout, memory and host code. Serve 9P by default over Unix sockets, with runtime mounts and optional TCP/QUIC transports. Remove FUSE and obsolete proof-of-concept examples. Fix highlighting and terminal-history performance, expand differential and stress-test infrastructure, sort navigation results while preserving the next occurrence, add syntax-colored Braille minimaps, remove SPC-k, and document 9P interaction as a repository skill.
Diffstat (limited to 'test/snapshots/nested-optout.snap')
-rw-r--r--test/snapshots/nested-optout.snap28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/snapshots/nested-optout.snap b/test/snapshots/nested-optout.snap
index 27e1ba3d..973b8817 100644
--- a/test/snapshots/nested-optout.snap
+++ b/test/snapshots/nested-optout.snap
@@ -1,22 +1,6 @@
-# `--nested` is the documented escape hatch out of the hand-the-file-outward
-# mechanism, and nested.snap covers only the mechanism. The flag says two
-# things at once and both are asserted here: an instance carrying it keeps its
-# own argument instead of forwarding it, AND it is not an outer instance for
-# anything launched inside IT (tty.zig binds no socket when opts.nested).
-#
-# The same trick nested.snap uses to get a genuine descendant: a pane shell's
-# parent IS the app under test, so `$(readlink /proc/$PPID/exe)` in a pane is
-# this exact binary. What discriminates is the GRID — a second topbar drawn
-# INSIDE the pane, with the outer instance still one shell wide.
-#
-# Long waits on purpose: each arm forks and execs whole further pardes.
file nested.txt optout-marker\nsecond-optout-line\n
dirmk innerdir
file innerdir/deeper.txt deepest-marker\n
-# --- a file argument, WITH the flag: the inner keeps it ---
-# Without --nested this is nested.snap's first arm and the outer grows a
-# file pane beside the shell. Here the outer's layout never changes: one
-# shell, and a whole second pardes drawn inside it holding nested.txt.
start 30 100
wait 8000 $
stable 700 20000
@@ -25,12 +9,6 @@ key enter
wait 20000 optout-marker
stable 700 20000
snap optout-file
-# --- ...and it is not an outer instance either ---
-# The subshell is what makes the wait unambiguous: the inner boots in
-# `innerdir` while the outer pane's own shell stays in cwd, so `cwd/innerdir`
-# on the grid can only be the inner instance's tagline. --nested with no
-# argument is still a bare launch, so the inner comes up in tty mode and
-# keystrokes travel through both layers to its shell.
start 30 100
wait 8000 $
stable 700 20000
@@ -39,12 +17,6 @@ key enter
wait 20000 cwd/innerdir
stable 700 20000
snap inner-shell
-# A third pardes, launched from inside the inner one. Its nearest pardes
-# ancestor is the INNER instance, which bound no socket, so the send fails and
-# it opens its own session where it stands — three topbars. The assertion is
-# the row it did NOT appear on: the outer instance is still one shell pane, and
-# a walk that had skipped past the opted-out instance would have put
-# deeper.txt up there beside it.
text $(readlink /proc/$PPID/exe) deeper.txt
key enter
wait 20000 deepest-marker