diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 18:27:14 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 18:49:19 -0300 |
| commit | b7dec1c3da59f23298eaccb2a5185ccf7a50a87a (patch) | |
| tree | e8cfe60427b2aac2db9cdeb6a80d3da95a6b732f /test | |
| parent | cfaadd978e671c15d9bae96eed72c5ab12718ea1 (diff) | |
| download | pardes-b7dec1c3da59f23298eaccb2a5185ccf7a50a87a.tar.gz pardes-b7dec1c3da59f23298eaccb2a5185ccf7a50a87a.zip | |
Stream: a search run on the loop (a 9P write's Grep or Find, which answers whether it found anything) is a tape site, `search`, its batches what the replay takes, as it takes a worker's (Event.search): its file reads were no site, so a replica of a session a script greps in read no file and joined again (`a syscall that is no tape site, made replaying`, a terminal client live, 2 of 2 before, none after); test/cross_replay.py's session greps and finds again
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/cross_replay.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/cross_replay.py b/test/cross_replay.py index 6c5a1e4d..9ce7d152 100644 --- a/test/cross_replay.py +++ b/test/cross_replay.py @@ -17,11 +17,11 @@ The session meets the host's failures, whose errors cross by name: a Look of a fifo (a read the host refuses) and of a directory, a stat and a read under /os over 9P, a Save into a file as if it were a directory and a Restore of a dump that is not there (errors the host reports, anyerrors). -And it holds what a digest must name the same in every build: a -+LocationsConfig, whose origin is a Builtin, and a file pane renamed (H19: -no Linux client could join a FreeBSD session so). ponytail: no Grep or -Find, which a 9P write runs on the loop, its reads no tape site (a replay -of it panics, by any build). +It greps and finds, as a script does, which a 9P write runs on the loop: +its reads are a tape site (a replica of a session a script greps in read +no file and diverged). And it holds what a digest must name the same in +every build: a +LocationsConfig, whose origin is a Builtin, and a file +pane renamed (H19: no Linux client could join a FreeBSD session so). """ import os import shutil @@ -75,7 +75,7 @@ def record(binary, out): started.append(int(status['pid'])) pane = next(int(row.split()[0]) for row in c.read('/index').splitlines() if row.split()[1] == b'text') for line in (f'Look {root / "fifo"}', f'Look {root / "dir"}', f'Save {root / "a.txt" / "x"}', - f'Restore {root / "nothing.dump"}', 'LocationsConfig'): + f'Restore {root / "nothing.dump"}', 'Grep hello', 'Find txt', 'LocationsConfig'): try: c.write(f'/pane/{pane}/exec', line.encode() + b'\n') except Exception: |
