OVMS3/OVMS.V3/components/zip/libzip/regress/add_from_stdin.test

6 lines
193 B
Plaintext

# add stdin to zip
pipein echo This is a test, and it seems to have been successful.
args -- teststdin.zip add_file teststring.txt /dev/stdin 0 -1
return 0
file-new teststdin.zip teststdin.zip