diff options
Diffstat (limited to 'include/tests_filesystems')
-rw-r--r-- | include/tests_filesystems | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems index 0de387f7..a2ae58cd 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -327,7 +327,7 @@ Display --indent 2 --text "- Testing swap partitions" --result "${STATUS_OK}" --color GREEN LogText "Result: all swap partitions have correct options (sw or swap)" else - Display --indent 2 --text "- Testing swap partitions" --result "CHECK NEEDED" --color YELLOW + Display --indent 2 --text "- Testing swap partitions" --result "${STATUS_CHECK_NEEDED}" --color YELLOW LogText "Result: possible incorrect mount options used for mounting swap partition (${FIND})" #ReportWarning "${TEST_NO}" "Possible incorrect mount options used for swap partition (${FIND})" ReportSuggestion "${TEST_NO}" "Check your /etc/fstab file for swap partition mount options" @@ -535,7 +535,7 @@ if [ "${FIND}" = "defaults" ]; then Display --indent 2 --text "- Mount options of /" --result "${STATUS_OK}" --color GREEN else - Display --indent 2 --text "- Mount options of /" --result "NON DEFAULT" --color YELLOW + Display --indent 2 --text "- Mount options of /" --result "${STATUS_NON_DEFAULT}" --color YELLOW fi else LogText "Result: no mount point / or expected options found" @@ -616,11 +616,11 @@ # if if ContainsString "defaults" "${FOUND_FLAGS}"; then LogText "Result: marked ${FILESYSTEM} options as default (not hardened)" - Display --indent 2 --text "- Mount options of ${FILESYSTEM}" --result DEFAULT --color YELLOW + Display --indent 2 --text "- Mount options of ${FILESYSTEM}" --result "${STATUS_DEFAULT}" --color YELLOW AddHP 3 5 else LogText "Result: marked ${FILESYSTEM} options as non-default (unclear about hardening)" - Display --indent 2 --text "- Mount options of ${FILESYSTEM}" --result "NON DEFAULT" --color YELLOW + Display --indent 2 --text "- Mount options of ${FILESYSTEM}" --result "${STATUS_NON_DEFAULT}" --color YELLOW AddHP 4 5 fi fi @@ -653,7 +653,7 @@ Display --indent 2 --text "- /var/tmp is bound to /tmp" --result "${STATUS_OK}" --color GREEN LogText "Result : /var/tmp is bind to /tmp" else - Display --indent 2 --text "- /var/tmp is not bound to /tmp" --result "NON DEFAULT" --color YELLOW + Display --indent 2 --text "- /var/tmp is not bound to /tmp" --result "${STATUS_NON_DEFAULT}" --color YELLOW LogText "Result: /var/tmp is not bind to /tmp" fi else |