X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=tests%2Frun_tests.sh;h=570291cbc43d385a03f09d860062f6bb301b6992;hp=53cd9fcbb79c293ea9222277c6223421cc00f066;hb=7e1e9b8dbdcf2ad71aff50ffdb032eb9df8a9e64;hpb=e47ca960d87ceca5765d77d58ae94f441fa292b7 diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 53cd9fc..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 @@ -26,4 +26,4 @@ done exit $GLOBRETVAL ## END OF FILE ################################################################# -# vim:foldmethod=marker expandtab ai ft=zsh shiftwidth=3 +# vim:foldmethod=marker expandtab ai ft=zsh shiftwidth=2