You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_lynx/lynx_default_page_centos_te...

15 lines
330 B

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