mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Add CLI Test
This commit is contained in:
12
tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
Executable file
12
tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
Executable file
@ -0,0 +1,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
|
Reference in New Issue
Block a user