From 4d57197f0135c292750731dd19a6df542378135d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 10:16:45 -0300 Subject: A look at a path not there under a peer's mount is a miss, the write answered, as any path to no file is It failed the write with the peer's "file does not exist". A file not found, here or through a mount, is now said and logged as a miss. Co-Authored-By: Claude Opus 5.5 --- test/fs.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/fs.py b/test/fs.py index 424a67e2..8eed2e29 100644 --- a/test/fs.py +++ b/test/fs.py @@ -1132,6 +1132,10 @@ def test(binary, quic=False): remote.write(f'/pane/{opened}/exec', b'Save\n') assert large_path.read_bytes() == edited assert client.read('/os' + str(large_path)) == edited + # A path not there under a peer's mount is a miss, as any + # path to no file is: the write answered, the err logged. + remote.write('/look', b'/n/peer/os' + str(root / 'no-such-file.txt').encode() + b'\n') + assert b'no such file' in remote.read('/log') with session(binary, root, 'runtime') as (remote, own_address): control = new_pane(remote, b'') -- cgit v1.3