diff --git a/tests/p_grub/grub_dir_layout_test.sh b/tests/p_grub/grub_dir_layout_test.sh index f968d8a..1b44d37 100755 --- a/tests/p_grub/grub_dir_layout_test.sh +++ b/tests/p_grub/grub_dir_layout_test.sh @@ -5,8 +5,8 @@ t_Log "Running $0 - check that grub file layout is the same with upstream." -if [ "$centos_ver" = "7" ] ; then - t_Log "el7 comes with grub2, skipping grub test ..." +if [ "$centos_ver" -ge 7 ] ; then + t_Log "el$centos_ver comes with grub2, skipping grub test ..." t_CheckExitStatus 0 exit 0 fi