git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / tests / cli-tests / cltools / zstdless.sh
diff --git a/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/cltools/zstdless.sh b/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/cltools/zstdless.sh
new file mode 100755 (executable)
index 0000000..a0697bd
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+println "+ good path"
+zstdless file.zst
+println "+ pass parameters"
+zstdless -N file.zst # This parameter does not produce line #s when piped, but still serves to test that the flag went to less and not zstd
+println "+ bad path"
+zstdless bad.zst >&2