diff --git a/include/tests_boot_services b/include/tests_boot_services index bf8f0af1..85532bcd 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -117,6 +117,20 @@ fi # ################################################################################# +# + # Test : BOOT-5106 + # Description : Check if boot.efi is found on Mac OS X + Register --test-no BOOT-5106 --os "MacOS" --weight L --network NO --root-only YES --description "Check EFI boot file on Mac OS X" + if [ ${SKIPTEST} -eq 0 ]; then + FileExists /System/Library/CoreServices/boot.efi + if [ ${FILE_FOUND} -eq 1 ]; then + logtext "Result: found Mac OS X boot.efi file" + BOOT_LOADER="MacOS-boot-EFI" + BOOT_LOADER_FOUND=1 + fi + fi +# +################################################################################# # # Test : BOOT-5116 # Description : Check if system is booted in UEFI mode