From d950e85e922e3f8bc702676f7449617653795f80 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jan 02 2019 10:55:20 +0000 Subject: Enable lsb tests for armhfp --- diff --git a/tests/p_lsb/0-install_redhat-lsb.sh b/tests/p_lsb/0-install_redhat-lsb.sh index 1c01bfd..a7e0b91 100755 --- a/tests/p_lsb/0-install_redhat-lsb.sh +++ b/tests/p_lsb/0-install_redhat-lsb.sh @@ -1,13 +1,5 @@ #!/bin/bash # Author: Athmane Madjoudj -uname_arch=$(uname -m) - -if [ "$uname_arch" == "armv7l" ]; then - t_Log "*** Not testing on Arch: $uname_arch ***" - exit 0 -fi - t_Log "$0 - Installing redhat-lsb" t_InstallPackage redhat-lsb - diff --git a/tests/p_lsb/lsb_release_brand_test.sh b/tests/p_lsb/lsb_release_brand_test.sh index 9ed6490..e3e73c5 100755 --- a/tests/p_lsb/lsb_release_brand_test.sh +++ b/tests/p_lsb/lsb_release_brand_test.sh @@ -1,16 +1,9 @@ #!/bin/sh # Author: Athmane Madjoudj -t_Log "Running $0 - LSB CentOS braning check." - -uname_arch=$(uname -m) - -if [ "$uname_arch" == "armv7l" ]; then - t_Log "*** Not testing on Arch: $uname_arch ***" - exit 0 -fi +t_Log "Running $0 - LSB CentOS branding check." lsb_release -i | grep -q "CentOS" && \ -lsb_release -d | grep -q "CentOS" +lsb_release -d | grep -q "CentOS" t_CheckExitStatus $?