do not depend on . in PATH for tests

This commit is contained in:
2018-06-18 17:52:19 +02:00
parent 89d3801a5f
commit 3b26bca69a

View File

@ -4,9 +4,9 @@ do
if [ $i != testall -a -x $i ]
then
echo $i "$@"
if ! $i "$@"
if ! ./$i "$@"
then
echo -e "\033[31;7mFailed.\033[0m"
echo -e "\033[31;7m$i failed.\033[0m"
(( fail+=1 ))
fi
fi