space-game001/thirdparty/libzip-1.11.3/regress/add_from_zip_closed.test
2025-03-28 16:37:05 +06:00

8 lines
324 B
Plaintext

# add deflated file from zip to zip, but close the source before it can be read
return 1
arguments -- testfile.zip add_from_zip abac-repeat.txt testdeflated.zzip 0 0 -1 zin_close 0
file testdeflated.zzip testdeflated.zip
stderr
can't close zip archive 'testfile.zip': Containing zip archive was closed
end-of-inline-data