Packages

Zstd binding for Erlang/Elixir

Current section

Files

Jump to
nextroll_zstd priv zstd tests cli-tests compression compress-literals.sh
Raw

priv/zstd/tests/cli-tests/compression/compress-literals.sh

#!/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