summaryrefslogtreecommitdiffstats
path: root/glpi-dev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-dev.spec')
-rw-r--r--glpi-dev.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/glpi-dev.spec b/glpi-dev.spec
index 71bb04f..708db29 100644
--- a/glpi-dev.spec
+++ b/glpi-dev.spec
@@ -291,9 +291,11 @@ done >%{name}.lang
%check
%if %{with_tests}
+RET=0
: Running a PHP server
-php -S localhost:8088&
+sed -e 's/localhost/127.0.0.1/' -i tests/bootstrap.php
+%{_bindir}/php -S 127.0.0.1:8088 &>/dev/null &
PHPPID=$!
: Running a MariaDB server