bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_httpd/httpd_php.sh

Karanbir Singh 0b5bb2
#!/bin/sh
Karanbir Singh 0b5bb2
# Author: Athmane Madjoudj <athmanem@gmail.com>
Karanbir Singh 0b5bb2
Karanbir Singh 0b5bb2
echo "" > /var/www/html/test.php
Karanbir Singh 2dd0be
Karanbir Singh 2dd0be
t_Log "Running $0 - httpd handle PHP test"
Karanbir Singh 2dd0be
Steve Barnes 464547
echo -e "GET /test.php HTTP/1.0\r\n" | nc  localhost 80 | grep 'PHP Version'
Karanbir Singh 2dd0be
Steve Barnes 464547
t_CheckExitStatus $?