From fe26cad193e379db775b03abceee508097e9e4ff Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 26 Mar 2019 14:03:11 +0100 Subject: [PATCH] tests: fix script for testing example configurations --- tests/integration/config-check.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/integration/config-check.sh b/tests/integration/config-check.sh index 20cbd272d..27301144b 100755 --- a/tests/integration/config-check.sh +++ b/tests/integration/config-check.sh @@ -25,8 +25,18 @@ set -e -CONFIGS=$(find ${SRCDIR}/etc/ -name '*.conf' -o -name '*.json') +cd ${SRCDIR}/etc/ + +CONFIGS=$(find . -name '*.conf' -o -name '*.json') for CONFIG in ${CONFIGS}; do + if [ "$(basename ${CONFIG})" == "opal.conf" ] || + [ "$(basename ${CONFIG})" == "paths.conf" ] || + [ "$(basename ${CONFIG})" == "global.conf" ]; then + echo "=== Skipping config: ${CONFIG}" + continue + fi + + echo "=== Testing config: ${CONFIG}" villas-config-check ${CONFIG} done