From 9f25508a44bf26e89af86bac812ba28d32db82a6 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Mon, 10 Jan 2022 21:02:17 +0100 Subject: [PATCH] updated test, from centos 6x to 7x style, transformedservice commands into direct commands --- tests/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index fdc12beac4..ddc3a1e990 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -17,14 +17,14 @@ function check { } # Start the required services. -service mysqld start && /usr/bin/mysqladmin -u root password 'pandora' +rm -rf /var/lib/mysql/* && sudo -u mysql mysqld --initialize-insecure && mysqld --user=mysql --sql-mode="" --daemonize=ON && /usr/bin/mysqladmin -u root password 'pandora' check "Starting the MySQL Server" $? mkdir -p /run/php-fpm/ 2>/dev/null /usr/sbin/php-fpm check "Starting PHP-FPM" $? -service httpd start +httpd check "Starting the Apache Web Server" $? # Install the Pandora FMS Console.