mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed the test.sh script.
(cherry picked from commit 59675c342c2d5ce1c93ddb6857ee585152afeed8)
This commit is contained in:
parent
0fe40b2f29
commit
6822ed621e
@ -31,11 +31,13 @@ cd /tmp/pandorafms/tests && chmod +x install_console.py && ./install_console.py
|
||||
check "Creating the Pandora FMS Database" $?
|
||||
|
||||
# Build and install the Pandora FMS Server.
|
||||
cd /tmp/pandorafms/pandora_server && perl Makefile.PL && make && make test
|
||||
cd /tmp/pandorafms/pandora_server && perl Makefile.PL && make # Do not run make test now. Some tests need files created by pandora_server_installer.
|
||||
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
|
||||
cd /tmp/pandorafms/pandora_server && make test
|
||||
check "Running tests for the Pandora FMS Server" $?
|
||||
|
||||
# Install the Pandora FMS Agent.
|
||||
cd /tmp/pandorafms/pandora_agents/unix && chmod +x pandora_agent_installer && ./pandora_agent_installer --install
|
||||
|
Loading…
x
Reference in New Issue
Block a user