Merge pull request #3027 from brailovich/dev

fix for -r on empty directory
This commit is contained in:
Yann Collet
2022-01-29 15:40:43 -08:00
committed by GitHub
2 changed files with 19 additions and 1 deletions
+5
View File
@@ -391,6 +391,11 @@ println "\n===> recursive mode test "
# combination of -r with empty list of input file
zstd -c -r < tmp > tmp.zst
# combination of -r with empty folder
mkdir -p tmpEmptyDir
zstd -r tmpEmptyDir
rm -rf tmpEmptyDir
println "\n===> file removal"
zstd -f --rm tmp