#!/bin/sh set -e # Test multi-threaded flags 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 zstd -T0 --jobsize=1M -f file -q ; zstd -t file.zst