1aa4525fb7d073271e52bceb11fa51d0938da148
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / tests / cli-tests / file-stat / compress-file-to-dir-without-write-perm.sh
1 #!/bin/sh
2
3 # motivated by issue #3523
4
5 datagen > file
6 mkdir out
7 chmod 000 out
8
9 zstd file -q --trace-file-stat -o out/file.zst
10 zstd -tq out/file.zst
11
12 chmod 777 out