From f48973ef58ca64383517a2a2190809f9c8735dbc Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 06:24:42 -0300 Subject: kinds #16, replication: daemon.py's window case a PDF in a detached session with a window client turning its wheel (wire 22), and the soak's tree holds design.pdf, which its Find opens Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/soak.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/soak.py') diff --git a/test/soak.py b/test/soak.py index d99f862c..dc40c17c 100644 --- a/test/soak.py +++ b/test/soak.py @@ -140,7 +140,9 @@ def fixture(at, rng): (at / 'code.zig').write_text(''.join(f'pub fn f{i}(x: u32) u32 {{\n return x * {i} + {rng.randrange(1000)}; // {rng.choice(WORDS)}\n}}\n\n' for i in range(120))) (at / 'big.txt').write_text(''.join(f'{i:06d} {" ".join(rng.choice(WORDS) for _ in range(9))}\n' for i in range(8000))) - (at / 'README').write_text('A directory to soak in.\nnotes.txt code.zig big.txt sub/\nsub/inner.txt:3\n') + (at / 'README').write_text('A directory to soak in.\nnotes.txt code.zig big.txt design.pdf sub/\nsub/inner.txt:3\n') + # A PDF to Look at: the pdf addon's pane, its jobs and its frames. + shutil.copy(Path(__file__).resolve().parent.parent / 'docs' / 'design.pdf', at / 'design.pdf') sub = at / 'sub' sub.mkdir(exist_ok=True) (sub / 'inner.txt').write_text(''.join(f'inner {i} {rng.choice(WORDS)}\n' for i in range(60))) @@ -646,7 +648,7 @@ def act_panes(c, rng, k): def act_find(c, rng, k): k(rng.choice([b' ff', b' fr', b' fg'])) time.sleep(rng.uniform(0.3, 1.0)) - k(rng.choice([b'notes\r', ESC, b'j\r', b'inner\r'])) + k(rng.choice([b'notes\r', ESC, b'j\r', b'inner\r', b'design\r'])) def act_shell(c, rng, k): -- cgit v1.3