diff --git a/ghost/web-analytics/scripts/exec_test.sh b/ghost/web-analytics/scripts/exec_test.sh index f6f3a57e26..a3ebc0e5fe 100755 --- a/ghost/web-analytics/scripts/exec_test.sh +++ b/ghost/web-analytics/scripts/exec_test.sh @@ -15,9 +15,8 @@ check_sum() { local file=$1 local expected_count=$2 - # Skip check if file starts with "all_" AND contains "timezone" in the name - # TODO: we should handle this for all tests and in a better way - if [[ ! $(basename "$file") =~ ^all_ ]] || [[ $(basename "$file") =~ timezone ]]; then + # Only perform the check if the file starts with "all_" + if [[ ! $(basename "$file") =~ ^all_ ]]; then return 0 fi