Blame tests/p_tomcat/tomcat_manager_test.sh

Athmane Madjoudj ebf159
#!/bin/sh
Athmane Madjoudj ebf159
# Author: Athmane Madjoudj <athmanem@gmail.com>
Pablo Greco 3855e3
if [ "$centos_ver" -ge "8" ] ; then
Pablo Greco 3855e3
   exit 0
Pablo Greco 3855e3
fi
3125c7
#uname_arch=$(uname -m)
3125c7
#if [ "$uname_arch" == "i686" ] ; then
3125c7
#t_Log "Skipping $0 on $uname_arch"
3125c7
#exit 0
3125c7
#else
Athmane Madjoudj 0a3c81
t_Log "Running $0 - Tomcat Web Application Manager test."
3125c7
#fi
Athmane Madjoudj ebf159
curl -u admin:admin -s http://localhost:8080/manager/html | grep "Tomcat Web Application Manager"  >/dev/null 2>&1
Athmane Madjoudj ebf159
Athmane Madjoudj ebf159
t_CheckExitStatus $?