summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fs.py4
1 files changed, 4 insertions, 0 deletions
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'')