Add extra logging to debug test (#2316)

This commit is contained in:
Andrew Gaul 2023-09-15 21:50:01 +09:00 committed by GitHub
parent 99d3e68d59
commit a83f4a48d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1921,6 +1921,7 @@ function test_clean_up_cache() {
local file_cnt="${#file_list[@]}" local file_cnt="${#file_list[@]}"
if [ "${file_cnt}" != "${count}" ]; then if [ "${file_cnt}" != "${count}" ]; then
echo "Expected $count files but got ${file_cnt}" echo "Expected $count files but got ${file_cnt}"
echo "Files: " "${file_list[@]}"
rm -rf "${dir}" rm -rf "${dir}"
return 1 return 1
fi fi