Blame tests/p_squirrelmail/squirrelmail_test.sh
|
Steve Barnes |
724d58 |
#!/bin/sh
|
|
Steve Barnes |
724d58 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
0a3c81 |
if (t_GetPkgRel basesystem | grep -q el6)
|
|
Athmane Madjoudj |
0a3c81 |
then
|
|
Athmane Madjoudj |
0a3c81 |
t_Log It seems to be a CentOS 6.x system, this test will be disabled
|
|
Athmane Madjoudj |
0a3c81 |
else
|
|
Athmane Madjoudj |
0a3c81 |
t_Log "Running $0 - test SquirrelMail URL."
|
|
Athmane Madjoudj |
0a3c81 |
curl -s http://localhost/webmail/src/login.php | grep 'SquirrelMail' > /dev/null 2>&1
|
|
Athmane Madjoudj |
0a3c81 |
fi
|
|
Steve Barnes |
724d58 |
|
|
Steve Barnes |
724d58 |
t_CheckExitStatus $?
|