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

10 lines
380 B
Plaintext

description check the reopen functionality (partial reads with -1 length)
return 0
arguments -- testbuffer.zip cat 0 replace_file_contents 0 "Overwritten\n" cat_partial 0 4 -1 add newfile.txt "A new file\n" cat_partial 1 2 -1
file testbuffer.zip testbuffer.zip testbuffer_reopen.zip
stdout
This is a test, and it seems to have been successful.
written
new file
end-of-inline-data