diff options
author | mboelen <michael@cisofy.com> | 2014-11-04 03:36:56 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-11-04 03:36:56 +0300 |
commit | dcef76d250ceee25b8db588b03a4f1a7b06b487f (patch) | |
tree | 1912e19c1b647af9c87b4b0ad937f7bd01c12b2a /include/tests_boot_services | |
parent | 525c430d84b781086180b5498e668f558735838c (diff) |
Allow OpenBSD boot loader test for all platforms
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r-- | include/tests_boot_services | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services index 8135f1f4..484bbb4c 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -261,7 +261,7 @@ # Test : BOOT-5159 # Description : Check for OpenBSD boot loader # More info : Only OpenBSD - Register --test-no BOOT-5159 --os OpenBSD --platform i386 --weight L --network NO --description "Check for OpenBSD boot loader presence" + Register --test-no BOOT-5159 --os OpenBSD --weight L --network NO --description "Check for OpenBSD boot loader presence" if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 # Boot files @@ -290,6 +290,7 @@ ReportSuggestion ${TEST_NO} "Add 'boot' to the /etc/boot.conf file to disable the default 5 seconds waiting time." fi if [ ${FOUND} -eq 1 ]; then + logtext "Result: found OpenBSD boot loader" BOOT_LOADER="OpenBSD" BOOT_LOADER_FOUND=1 fi @@ -566,6 +567,7 @@ ReportException "${TEST_NO}:1" "No uptime test available for this operating system (/proc/uptime missing)" fi ;; + MacOS) if [ ! "${SYSCTLBINARY}" = "" ]; then FIND=`${SYSCTLBINARY} kern.boottime | awk '{ print $5 }' | sed -e 's/,//'` |