From 18e6d41bed9cc8b70d45490a07079e32942b5989 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Aug 05 2019 20:57:22 +0000 Subject: Disabled lynx test on c8 as pkg not in base repo Signed-off-by: Fabian Arrotin --- diff --git a/tests/p_lynx/0-install_lynx.sh b/tests/p_lynx/0-install_lynx.sh index 7eec2a6..62f875e 100755 --- a/tests/p_lynx/0-install_lynx.sh +++ b/tests/p_lynx/0-install_lynx.sh @@ -2,5 +2,11 @@ # Author: Athmane Madjoudj t_Log "$0 - installing Lynx" + +if [ "$centos_ver" -eq "8" ]; then + t_Log "Package lynx not available in default repos on c8 => SKIP" + exit 0 +fi + t_InstallPackage lynx diff --git a/tests/p_lynx/lynx_default_page_centos_test.sh b/tests/p_lynx/lynx_default_page_centos_test.sh index 1525f32..4547e57 100755 --- a/tests/p_lynx/lynx_default_page_centos_test.sh +++ b/tests/p_lynx/lynx_default_page_centos_test.sh @@ -3,6 +3,12 @@ t_Log "Running $0 - check that lynx default page is CentOS welcome page ." +if [ "$centos_ver" -eq "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 $? diff --git a/tests/p_lynx/lynx_dump_page_test.sh b/tests/p_lynx/lynx_dump_page_test.sh index ab72c07..61832db 100755 --- a/tests/p_lynx/lynx_dump_page_test.sh +++ b/tests/p_lynx/lynx_dump_page_test.sh @@ -3,6 +3,12 @@ t_Log "Running $0 - check that lynx can dump remote page." +if [ "$centos_ver" -eq "8" ]; then + t_Log "Package lynx not available in default repos on c8 => SKIP" + exit 0 +fi + + if [ "$SKIP_QA_HARNESS" = "1" ] ; then URL="http://mirror.centos.org/" CHECK_FOR="CentOS on the Web"