X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=tests%2Frun_tests.sh;h=570291cbc43d385a03f09d860062f6bb301b6992;hb=8b62d45fcb295cc9b0208d097ec6c9768a887540;hp=e1c9f5020b8675dbd2d40305991231009a3939da;hpb=e68a7d9a2215b2a92a6c960952e6c0ed8465ff7f;p=grml-debootstrap.git diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e1c9f50..570291c 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -2,7 +2,7 @@ # Filename: run_tests # Purpose: run unit tests for grml-autoconfig # Authors: grml-team (grml.org), (c) Ulrich Dangel -# Bug-Reports: see http://grml.org/bugs/ +# Bug-Reports: see https://grml.org/bugs/ # License: This file is licensed under the GPL v2. ################################################################################ @@ -10,13 +10,13 @@ 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