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_storage_nfs | |
parent | 9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff) |
Replaced text strings to allow translations
Diffstat (limited to 'include/tests_storage_nfs')
-rw-r--r-- | include/tests_storage_nfs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/tests_storage_nfs b/include/tests_storage_nfs index b541920c..154b688b 100644 --- a/include/tests_storage_nfs +++ b/include/tests_storage_nfs @@ -41,7 +41,7 @@ for I in ${FIND}; do LogText "rpcinfo: ${I}" done - Display --indent 2 --text "- Query rpc registered programs" --result "DONE" --color GREEN + Display --indent 2 --text "- Query rpc registered programs" --result "${STATUS_DONE}" --color GREEN fi # ################################################################################# @@ -56,7 +56,7 @@ for I in ${FIND}; do LogText "Found version: ${I}" done - Display --indent 2 --text "- Query NFS versions" --result "DONE" --color GREEN + Display --indent 2 --text "- Query NFS versions" --result "${STATUS_DONE}" --color GREEN fi # ################################################################################# @@ -84,7 +84,7 @@ if [ "${FIND}" = "" ]; then LogText "Output: no NFS port number found" fi - Display --indent 2 --text "- Query NFS protocols" --result "DONE" --color GREEN + Display --indent 2 --text "- Query NFS protocols" --result "${STATUS_DONE}" --color GREEN fi # ################################################################################# @@ -97,10 +97,10 @@ FIND=`${PSBINARY} ax | grep "nfsd" | grep -v "grep"` if [ "${FIND}" = "" ]; then LogText "Output: NFS daemon is not running" - Display --indent 2 --text "- Check running NFS daemon" --result "NOT FOUND" --color WHITE + Display --indent 2 --text "- Check running NFS daemon" --result "${STATUS_NOT_FOUND}" --color WHITE else LogText "Output: NFS daemon is running" - Display --indent 2 --text "- Check running NFS daemon" --result "FOUND" --color GREEN + Display --indent 2 --text "- Check running NFS daemon" --result "${STATUS_FOUND}" --color GREEN NFS_DAEMON_RUNNING=1 fi fi @@ -132,10 +132,10 @@ LogText "Result: /etc/exports does not contain exported file systems" NFS_EXPORTS_EMPTY=1 fi - Display --indent 4 --text "- Checking /etc/exports" --result "FOUND" --color GREEN + Display --indent 4 --text "- Checking /etc/exports" --result "${STATUS_FOUND}" --color GREEN else LogText "Result: file /etc/exports does not exist" - Display --indent 4 --text "- Checking /etc/exports" --result "NOT FOUND" --color WHITE + Display --indent 4 --text "- Checking /etc/exports" --result "${STATUS_NOT_FOUND}" --color WHITE fi fi # @@ -147,7 +147,7 @@ Register --test-no STRG-1928 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking empty /etc/exports" if [ ${SKIPTEST} -eq 0 ]; then if [ ${NFS_EXPORTS_EMPTY} -eq 1 ]; then - Display --indent 6 --text "- Checking empty /etc/exports" --result SUGGESTION --color YELLOW + Display --indent 6 --text "- Checking empty /etc/exports" --result "${STATUS_SUGGESTION}" --color YELLOW LogText "Result: /etc/exports seems to have no exported file systems" ReportSuggestion ${TEST_NO} "/etc/exports has no exported file systems, while NFS daemon is running. Check if NFS needs to run on this system" fi @@ -169,7 +169,7 @@ AddHP 2 3 else LogText "Result: only some clients are allowed to access a NFS share" - Display --indent 4 --text "- Checking NFS client access" --result OK --color GREEN + Display --indent 4 --text "- Checking NFS client access" --result "${STATUS_OK}" --color GREEN AddHP 3 3 fi fi |