iw7-mod/deps/zstd/tests/cli-tests/zstd-symlinks/zstdcat.sh
2024-08-13 05:15:34 -04:00

13 lines
223 B
Bash

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