1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: fix script for testing example configurations

This commit is contained in:
Steffen Vogel 2019-03-26 14:03:11 +01:00
parent e0502a929e
commit fe26cad193

View file

@ -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