summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zstd/tests/cli-tests/zstd-symlinks/zstdcat.sh
blob: 74ec063d13c2dfab2bae833cdd48c0ce8ae9f95c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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