fuse: be nicer to software which fails on truncated reads, such as Wimgapi.dll

This commit is contained in:
ed 2020-08-11 18:16:37 +00:00
parent b025c2f660
commit b6a3c52d67
2 changed files with 65 additions and 23 deletions

View file

@ -11,7 +11,7 @@ PYTHONPATH=.. python3 -m copyparty -v /dev/shm/fusefuzz/r::r -i 127.0.0.1
def main():
v = "virt"
v = "v"
for n in range(5):
with open(f"r/{n}", "wb") as f:
f.write(b"h" * n)