# Filename: run_tests
# Purpose: run unit tests for grml-autoconfig
# Authors: grml-team (grml.org), (c) Ulrich Dangel <mru@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
+# Bug-Reports: see https://grml.org/bugs/
# License: This file is licensed under the GPL v2.
################################################################################
GLOBRETVAL=0
for FILE in test_*.sh ; do
- if [ -x ${FILE} ] ; then
+ if [ -x "${FILE}" ] ; then
pretty_name="${FILE##test_}"
pretty_name="${pretty_name/.sh/}"
echo "Running test for: ${pretty_name}"
- ./${FILE}
+ ./"${FILE}"
RETVAL=$?
[ "$RETVAL" -ne 0 ] && GLOBRETVAL=$RETVAL