diff options
Diffstat (limited to 'test/fs.py')
| -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'') |
