Add “exit 1” after “echo ERROR” in tests/roles/ibus-desktop-testing-role/tasks/main.yml

This commit is contained in:
Mike FABIAN 2020-05-20 09:04:36 +02:00
parent 6e1efec89f
commit e6e2aea2ca

View File

@ -77,10 +77,12 @@
log="{{ remote_artifacts }}/test.log"
if [ ! -f $log ] ; then
echo ERROR
exit 1
else
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
if [ x"$FAIL" != x ] ; then
echo ERROR
exit 1
else
echo PASS
fi