648db22b |
1 | #!/bin/sh |
2 | |
3 | set -e |
4 | |
5 | # Test multi-threaded flags |
6 | zstd --single-thread file -f -q ; zstd -t file.zst |
7 | zstd -T2 -f file -q ; zstd -t file.zst |
8 | zstd --rsyncable -f file -q ; zstd -t file.zst |
9 | zstd -T0 -f file -q ; zstd -t file.zst |
10 | zstd -T0 --auto-threads=logical -f file -q ; zstd -t file.zst |
11 | zstd -T0 --auto-threads=physical -f file -q ; zstd -t file.zst |
12 | |
13 | # multi-thread decompression warning test |
14 | zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3 |
15 | zstd -T0 -f file -q ; zstd -t file.zst; zstd -T2 -d file.zst -o file4 |