diff --git a/tools/integration-tests-helper.sh b/tools/integration-tests-helper.sh index 763570132..2d80e22c6 100755 --- a/tools/integration-tests-helper.sh +++ b/tools/integration-tests-helper.sh @@ -25,10 +25,9 @@ function villas_format_supports_vectorize() { local FORMAT=$1 - case $FORMAT in - raw.*) ;& - gtnet) ;& - gtnet.fake) return 1 ;; + case ${FORMAT} in + raw*) return 1 ;; + gtnet*) return 1 ;; esac return 0 @@ -38,7 +37,7 @@ function villas_format_supports_header() { local FORMAT=$1 case $FORMAT in - raw-*) ;& + raw*) return 1 ;; gtnet) return 1 ;; esac