bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_tomcat/tomcat_test.sh

Athmane Madjoudj ebf159
#!/bin/sh
Athmane Madjoudj ebf159
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj ebf159
Athmane Madjoudj 0a3c81
t_Log "Running $0 - Tomcat basic test."
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
curl -s http://localhost:8080/ | grep "you've setup Tomcat successfully. Congratulations!"  >/dev/null 2>&1
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
t_CheckExitStatus $?