Don't reset $result variable for CLI tests after script tests

This commit is contained in:
David Capello 2018-12-06 13:00:56 -03:00
parent 71a02b537a
commit 812ce9320a

View File

@ -67,14 +67,17 @@ done
echo ----------------------------------------------------------------------
echo "Testing CLI..."
result=0
for script in cli/*.sh ; do
echo "Running $script"
source $script
done
echo ----------------------------------------------------------------------
echo Done
if [ $result == 0 ] ; then
echo Done
else
echo FAILED
fi
echo ----------------------------------------------------------------------
exit $result