From 665e1f89d1b169cde27b650c9f3a78c99ec5405c Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Fri, 20 May 2016 11:59:44 +0200 Subject: [PATCH] Properly configure pandora_server.conf when running tests. --- tests/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.sh b/tests/test.sh index 689ac9246b..2ca8348ad6 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -35,6 +35,7 @@ cd /tmp/pandorafms/pandora_server && perl Makefile.PL && make && make test check "Building the Pandora FMS Server" $? cd /tmp/pandorafms/pandora_server && chmod +x pandora_server_installer && ./pandora_server_installer --install check "Installing the Pandora FMS Server" $? +sed -i -e 's/^dbuser.*/dbuser root/' /etc/pandora/pandora_server.conf # Install the Pandora FMS Agent. cd /tmp/pandorafms/pandora_agents/unix && chmod +x pandora_agent_installer && ./pandora_agent_installer --install