Emit unexpected file names in failed test_list (#2307)

This commit is contained in:
Andrew Gaul 2023-09-06 23:47:12 +09:00 committed by GitHub
parent 4d5632912a
commit 5f38301861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,7 @@ function test_list {
local file_cnt=${#file_list[@]}
if [ "${file_cnt}" -ne 2 ]; then
echo "Expected 2 file but got ${file_cnt}"
echo "Files: " "${file_list[@]}"
return 1
fi