git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / tests / cli-tests / compression / compress-literals.sh
diff --git a/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/compression/compress-literals.sh b/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/compression/compress-literals.sh
new file mode 100755 (executable)
index 0000000..573481a
--- /dev/null
@@ -0,0 +1,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