xref: /aosp_15_r20/external/zstd/tests/cli-tests/compression/compress-literals.sh (revision 01826a4963a0d8a59bc3812d29bdf0fb76416722)
1#!/bin/sh
2
3set -e
4
5# Test --[no-]compress-literals
6zstd file --no-compress-literals -1 -c       | zstd -t
7zstd file --no-compress-literals -19 -c      | zstd -t
8zstd file --no-compress-literals --fast=1 -c | zstd -t
9zstd file --compress-literals -1 -c          | zstd -t
10zstd file --compress-literals --fast=1 -c    | zstd -t
11