1
0
mirror of https://github.com/facebook/zstd.git synced 2025-04-23 10:05:44 +03:00
zstd/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
W. Felix Handte 957a0ae52d Add CLI Test
2023-03-09 12:48:11 -05:00

13 lines
163 B
Bash
Executable File

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