summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zstd/tests/cli-tests/compression/compress-literals.sh
blob: 573481a3f5b7bfea51c3a51506734cc732e3f31a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

# Test --[no-]compress-literals
zstd file --no-compress-literals -1 -c       | zstd -t
zstd file --no-compress-literals -19 -c      | zstd -t
zstd file --no-compress-literals --fast=1 -c | zstd -t
zstd file --compress-literals -1 -c          | zstd -t
zstd file --compress-literals --fast=1 -c    | zstd -t