Blame tests/p_lynx/lynx_default_page_centos_test.sh

Athmane Madjoudj fa6d57
#!/bin/sh
Athmane Madjoudj fa6d57
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj fa6d57
Athmane Madjoudj fa6d57
t_Log "Running $0 - check that lynx default page is CentOS welcome page ."
Athmane Madjoudj fa6d57
40b4c8
if [ "$centos_ver" -ge "8" ]; then
18e6d4
  t_Log "Package lynx not available in default repos on c8 => SKIP"
18e6d4
  exit 0
18e6d4
fi
18e6d4
18e6d4
Athmane Madjoudj fa6d57
lynx -dump  | grep "Welcome to CentOS"  >/dev/null 2>&1
Athmane Madjoudj fa6d57
Athmane Madjoudj fa6d57
t_CheckExitStatus $?