Update playTests.sh
This commit is contained in:
@@ -390,6 +390,18 @@ 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 2>tmplog2
|
||||
if [grep "aborting" tmplog2]; then
|
||||
println "Should not abort on empty directory"
|
||||
rm -rf tmplog2
|
||||
rm -rf tmpEmptyDir
|
||||
die
|
||||
fi
|
||||
rm -rf tmplog2
|
||||
rm -rf tmpEmptyDir
|
||||
|
||||
|
||||
println "\n===> file removal"
|
||||
zstd -f --rm tmp
|
||||
|
||||
Reference in New Issue
Block a user