2022-01-18 13:31:27 -08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Test multi-threaded flags
|
2023-01-26 11:43:27 -08:00
|
|
|
zstd --single-thread file -f -q ; zstd -t file.zst
|
|
|
|
zstd -T2 -f file -q ; zstd -t file.zst
|
|
|
|
zstd --rsyncable -f file -q ; zstd -t file.zst
|
|
|
|
zstd -T0 -f file -q ; zstd -t file.zst
|
|
|
|
zstd -T0 --auto-threads=logical -f file -q ; zstd -t file.zst
|
|
|
|
zstd -T0 --auto-threads=physical -f file -q ; zstd -t file.zst
|
2022-07-29 12:51:58 -07:00
|
|
|
|
|
|
|
# multi-thread decompression warning test
|
2023-01-26 11:43:27 -08:00
|
|
|
zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3
|
|
|
|
zstd -T0 -f file -q ; zstd -t file.zst; zstd -T2 -d file.zst -o file4
|