tests: Make failure an actual failure again, and dump only last 2000 lines on failure, also from ipaclient log.

This commit is contained in:
Timo Aaltonen
2020-02-28 12:58:24 +02:00
parent d2224f823e
commit 590c9d8b0c

View File

@@ -40,6 +40,8 @@ ipa-server-install \
if [ $? != 0 ]; then
echo ">>>>> IPASERVER log >>>>>>>"
cat /var/log/ipaserver-install.log
exit 0
tail -n 2000 /var/log/ipaserver-install.log
echo ">>>>> IPACLIENT log >>>>>>>"
tail -n 2000 /var/log/ipaclient-install.log
exit 1
fi