bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_httpd/0-install_httpd.sh

Karanbir Singh 0b5bb2
#!/bin/bash
Karanbir Singh 0b5bb2
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka cd64d7
#	  Christoph Galuschka <tigalch@tigalch.org>
Karanbir Singh 0b5bb2
Athmane Madjoudj 26170b
# Install tests deps
Christoph Galuschka cd64d7
t_Log "Running $0 - httpd: installing curl, http, php and php-mysql"
Karanbir Singh 106bcf
Christoph Galuschka cd64d7
#t_InstallPackage curl
Athmane Madjoudj 26170b
Karanbir Singh 0b5bb2
# HTTPD / PHP 
Christoph Galuschka cd64d7
t_InstallPackage curl httpd mod_ssl php php-mysql 
Christoph Galuschka a8bfc7
t_ServiceControl httpd stop
Christoph Galuschka a8bfc7
sleep 3
Christoph Galuschka a8bfc7
killall httpd
Christoph Galuschka a8bfc7
sleep 3
Christoph Galuschka a8bfc7
t_ServiceControl httpd start
Christoph Galuschka a8bfc7