summaryrefslogtreecommitdiff
path: root/test/daemon.py
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-23 03:43:55 -0300
committerGabriel Schneider <[email protected]>2026-11-23 03:43:55 -0300
commit4faf94b72b60ecb0656e7e90ca693b63b1fde71c (patch)
treed5f23e93b7f19ed373e1c644c8ae3f364d30d84d /test/daemon.py
parent1ebae0db0a185455b2a03f22f5106113c6407a2f (diff)
parentaac453a5bf4730405cdeac4b42bffbcd24d73947 (diff)
downloadpardes-4faf94b72b60ecb0656e7e90ca693b63b1fde71c.tar.gz
pardes-4faf94b72b60ecb0656e7e90ca693b63b1fde71c.zip
integration (a base for the next rounds, not yet the gathered line): a join's dump with its digest on the one decision: pardes-m62-base (`lkzwnmls`: pardes-merge60 + pardes-one-decision) and pardes-dump-digest (`rwmqumpw` on `oyournly` on `ollusskr` on `xsutplvu`, on pardes-m60-base: a join's digest is taken with its dump (`dumpJoin`), which makes no host call: a 9P request served in a dump's gap no longer leaves a client refused its own load; the hand-walked types listed with the tests that join over each; a refused load names its field); no conflict; core-test 924/1088 (164 skipped), shell-test 1130/1133 (2026-11-23)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/daemon.py')
-rw-r--r--test/daemon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/daemon.py b/test/daemon.py
index fcaae3d7..dc1abcbc 100644
--- a/test/daemon.py
+++ b/test/daemon.py
@@ -3584,7 +3584,7 @@ def upgrades(old, new):
# upgrade of one pid is `upgrade-<pid>-2`).
kept = client.read('/dumps').decode()
assert any(line.split()[0].startswith(f'upgrade-{session}') for line in kept.splitlines()), kept
- assert alive(shell_pid) and ppid(shell_pid) == session
+ assert alive(shell_pid) and ppid(shell_pid) == session, ('the shell under the fresh session', shell_pid, alive(shell_pid) and ppid(shell_pid), session)
pids = {p: run(client, p, b'echo $$\n') for p in terminals(client)}
adopted = [p for p, out in pids.items() if out.split(b'\n')[1:2] == [str(shell_pid).encode()]]
assert adopted, ('the shell is a pane of the fresh session', shell_pid, pids, client.read('/index'))
@@ -3626,7 +3626,7 @@ def upgrades(old, new):
pid, said = adopted_pid(client, pane)
assert pid == str(shell_pid).encode(), (said, shell_pid)
print(f'upgrade: the upgraded daemon kept shell {shell_pid} through kill -9 of its session, and it was adopted')
- client.write(f'/pane/{pane}/exec', b'Exit\n')
+ exit_session(client, pane)
stub.wait(timeout=10)
client.socket.close()
term.close()