diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 10:16:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 10:36:27 -0300 |
| commit | 4d57197f0135c292750731dd19a6df542378135d (patch) | |
| tree | 520629d486da16e7eec885afb1a4dc8ed3e39624 /test | |
| parent | ecc37bfdc4b5771dfe4bda61b9ffab9ad298950d (diff) | |
| download | pardes-4d57197f0135c292750731dd19a6df542378135d.tar.gz pardes-4d57197f0135c292750731dd19a6df542378135d.zip | |
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 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/fs.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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'') |
