Merge "run_tests: add more debug when Puppet fails"

This commit is contained in:
Jenkins 2016-04-22 12:18:29 +00:00 committed by Gerrit Code Review
commit 0ec65eb155

@ -151,6 +151,7 @@ run_puppet $SCENARIO
RESULT=$?
set -e
if [ $RESULT -ne 2 ]; then
print_header 'First Puppet run contains errors in catalog.'
print_header 'SELinux Alerts (1st time)'
catch_selinux_alerts
exit 1
@ -163,6 +164,7 @@ run_puppet $SCENARIO
RESULT=$?
set -e
if [ $RESULT -ne 0 ]; then
print_header 'Second Puppet run is not idempotent.'
print_header 'SELinux Alerts (2nd time)'
catch_selinux_alerts
exit 1