Add new test BOOT-5106 to check for boot.efi on Mac OS X

This commit is contained in:
mboelen 2015-12-08 18:41:43 +01:00
parent f8940e20b2
commit 2be968eb2c
1 changed files with 14 additions and 0 deletions

View File

@ -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