summaryrefslogtreecommitdiffstats
path: root/glpi-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-26 10:10:16 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-26 10:10:16 +0200
commit1e2a50452b20a1e73e7e28edd44e000bb15556bb (patch)
treef3780663b15161e096edb1ef239042cbafab54a7 /glpi-dev.spec
parent981df2a298c9ad104452022b504cd3cca358ad0b (diff)
glpi: missing init
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