diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:14:01 +0300 |
commit | 983e293eb157131ca5e085e4927ea5fc220edc73 (patch) | |
tree | cc5e8bea4af5cfa53f57a73d2c61357f47165857 /include/tests_containers | |
parent | 9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff) |
Replaced text strings to allow translations
Diffstat (limited to 'include/tests_containers')
-rw-r--r-- | include/tests_containers | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tests_containers b/include/tests_containers index 6c5ddc1a..dd745126 100644 --- a/include/tests_containers +++ b/include/tests_containers @@ -50,7 +50,7 @@ Display --indent 2 --text "- Checking Solaris Zones" --result "FOUND ${N} zones" --color GREEN else LogText "Result: no running zones found" - Display --indent 2 --text "- Checking Solaris Zones" --result NONE --color WHITE + Display --indent 2 --text "- Checking Solaris Zones" --result "${STATUS_NONE}" --color WHITE fi fi # @@ -82,7 +82,7 @@ Report "docker_daemon_running=1" DOCKER_DAEMON_RUNNING=1 Display --indent 4 --text "- Docker" - Display --indent 6 --text "- Docker daemon" --result RUNNING --color GREEN + Display --indent 6 --text "- Docker daemon" --result "${STATUS_RUNNING}" --color GREEN fi fi # @@ -109,7 +109,7 @@ AddHP 3 4 else LogText "Result: no warnings found from 'docker info' output" - Display --indent 8 --text "- Docker info output (warnings)" --result "NONE" --color GREEN + Display --indent 8 --text "- Docker info output (warnings)" --result "${STATUS_NONE}" --color GREEN AddHP 1 1 fi fi @@ -136,7 +136,7 @@ if [ ! "${DOCKER_CONTAINERS_TOTAL}" = "${DOCKER_CONTAINERS_TOTAL2}" ]; then LogText "Result: difference detected, which is unexpected" ReportSuggestion "${TEST_NO}" "Test output of both 'docker ps -a' and 'docker info', to determine why they report a different amount of containers" - Display --indent 8 --text "- Total containers" --result "UNKNOWN" --color RED + Display --indent 8 --text "- Total containers" --result "${STATUS_UNKNOWN}" --color RED else Display --indent 8 --text "- Total containers" --result "${DOCKER_CONTAINERS_TOTAL}" --color WHITE fi @@ -190,10 +190,10 @@ fi done if [ ${DOCKER_FILE_PERMISSIONS_WARNINGS} -gt 0 ]; then - Display --indent 4 --text "- File permissions" --result WARNINGS --color YELLOW + Display --indent 4 --text "- File permissions" --result "${STATUS_WARNING}"S --color YELLOW AddHP 0 5 else - Display --indent 4 --text "- File permissions" --result OK --color GREEN + Display --indent 4 --text "- File permissions" --result "${STATUS_OK}" --color GREEN AddHP 5 5 fi fi |