summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zstd/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
blob: 1aa4525fb7d073271e52bceb11fa51d0938da148 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# motivated by issue #3523

datagen > file
mkdir out
chmod 000 out

zstd file -q --trace-file-stat -o out/file.zst
zstd -tq out/file.zst

chmod 777 out