From f9547803d782d840a13025d7e392d9a1a34dbf92 Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Tue, 6 Jun 2017 15:29:43 +0200 Subject: [PATCH] icingaweb2: Wait for httpd to come up, and output logs on errors --- testing/start_test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/start_test.sh b/testing/start_test.sh index a823408..c8111c6 100755 --- a/testing/start_test.sh +++ b/testing/start_test.sh @@ -40,7 +40,7 @@ else exit 1 fi -sleep 5 +sleep 10 output=`mktemp` @@ -62,5 +62,7 @@ else echo "Output of the page is:" echo "=====================================" cat "$output" + echo "=====================================" + cat /var/log/httpd/*error* /var/log/apache2/*error* exit 1 fi