summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 21:06:51 -0300
committerGabriel Schneider <[email protected]>2026-10-30 22:03:33 -0300
commitc07baa7bf83039600a54b261eaae7fdd4d673768 (patch)
tree36377f2eabd9b3cee349d8bd1cf552b3866732f2 /test
parentd00c40694dc239854263616f710b4a197d25d145 (diff)
downloadpardes-c07baa7bf83039600a54b261eaae7fdd4d673768.tar.gz
pardes-c07baa7bf83039600a54b261eaae7fdd4d673768.zip
builtins: Tty9p is a word of every hosted build, not a Linux build's alone, so a build's words, the rows of its Help, are the same on FreeBSD: a Linux client of a box session made SPC ?'s +Help with one row more than its session's and joined again (`pane 4.file.content`, and `.splice` over a +Help made again: two of the box soak's three divergences); whether its host is Linux is the authority's answer (tape.authority), so a replica of a FreeBSD session refuses Tty9p as its session does; test/cross_replay.py's session runs Help (a FreeBSD tape replayed here diverged at its pane's content)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/cross_replay.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/cross_replay.py b/test/cross_replay.py
index 9ce7d152..21367ca1 100644
--- a/test/cross_replay.py
+++ b/test/cross_replay.py
@@ -20,8 +20,9 @@ Restore of a dump that is not there (errors the host reports, anyerrors).
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).
+every build: a +LocationsConfig, whose origin is a Builtin, a file
+pane renamed (H19: no Linux client could join a FreeBSD session so), and
+a +Help, which lists the build's words (Tty9p was a Linux build's alone).
"""
import os
import shutil
@@ -75,7 +76,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"}', 'Grep hello', 'Find txt', 'LocationsConfig'):
+ f'Restore {root / "nothing.dump"}', 'Grep hello', 'Find txt', 'LocationsConfig', 'Help'):
try:
c.write(f'/pane/{pane}/exec', line.encode() + b'\n')
except Exception: