From 4a90a18d73ddd92c142723db2ab40c4f42cafe4b Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 22 Oct 2018 11:11:08 +0100 Subject: [PATCH] compatability fixes in shell script --- tools/integration-tests-helper.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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