From 0c686bb6ea4972423ad78c93f80449e1e862f6c1 Mon Sep 17 00:00:00 2001 From: Simon Biewald Date: Sat, 14 Nov 2020 20:27:39 +0000 Subject: Use the new status strings in tests See-Also: HEAD^ Signed-off-by: Simon Biewald --- include/tests_insecure_services | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/tests_insecure_services') diff --git a/include/tests_insecure_services b/include/tests_insecure_services index 230d117e..2ba308b3 100644 --- a/include/tests_insecure_services +++ b/include/tests_insecure_services @@ -63,11 +63,11 @@ LogText "Test: Searching for active inet daemon" if IsRunning "inetd"; then LogText "Result: inetd is running" - Display --indent 4 --text "- inetd status" --result "ACTIVE" --color GREEN + Display --indent 4 --text "- inetd status" --result "${STATUS_ACTIVE}" --color GREEN INETD_ACTIVE=1 else LogText "Result: inetd is NOT running" - Display --indent 4 --text "- inetd status" --result "NOT ACTIVE" --color GREEN + Display --indent 4 --text "- inetd status" --result "${STATUS_NOT_ACTIVE}" --color GREEN fi fi # @@ -158,11 +158,11 @@ LogText "Test: Searching for active extended internet services daemon (xinetd)" if IsRunning "xinetd"; then LogText "Result: xinetd is running" - Display --indent 4 --text "- xinetd status" --result "ACTIVE" --color GREEN + Display --indent 4 --text "- xinetd status" --result "${STATUS_ACTIVE}" --color GREEN XINETD_ACTIVE=1 else LogText "Result: xinetd is NOT running" - Display --indent 4 --text "- xinetd status" --result "NOT ACTIVE" --color GREEN + Display --indent 4 --text "- xinetd status" --result "${STATUS_NOT_ACTIVE}" --color GREEN fi fi # -- cgit v1.2.3