From dcef76d250ceee25b8db588b03a4f1a7b06b487f Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 4 Nov 2014 01:36:56 +0100 Subject: [PATCH] Allow OpenBSD boot loader test for all platforms --- include/tests_boot_services | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/,//'`