iw5-mod/deps/zstd/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh

13 lines
163 B
Bash
Raw Normal View History

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