git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / tests / cli-tests / zstd-symlinks / zstdcat.sh
diff --git a/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/zstd-symlinks/zstdcat.sh b/deps/libchdr/deps/zstd-1.5.5/tests/cli-tests/zstd-symlinks/zstdcat.sh
new file mode 100755 (executable)
index 0000000..74ec063
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+# Test zstdcat symlink in bin/
+zstdcat hello.zst
+zstdcat hello.zst world
+zstdcat hello world.zst
+zstdcat hello.zst world.zst
+
+# Test local zstdcat symlink
+ln -s $(which zstd) ./zstdcat
+./zstdcat hello.zst