Blame tests/p_squirrelmail/squirrelmail_test.sh

Steve Barnes 724d58
#!/bin/sh
Steve Barnes 724d58
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 0bb594
t_Log "Running $0 - test SquirrelMail URL"
Christoph Galuschka 0bb594
0306cb
if [ "$centos_ver" -gt "5" ] ;then
0306cb
  t_Log "It seems to be a CentOS $centos_ver system, this test will be disabled -> SKIP"
0306cb
  exit 0
Athmane Madjoudj 0a3c81
else
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 $?