Release new version 0.88
[grml-debootstrap.git] / tests / run_tests.sh
index 46c4645..570291c 100755 (executable)
@@ -1,8 +1,8 @@
-#!/bin/zsh
+#!/bin/bash
 # 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
@@ -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