diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:48:20 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-10-28 12:48:20 +0300 |
commit | 1cb1fc40ca5188dd3eef37c853fe3a76b22a37f7 (patch) | |
tree | 840d7da7c1434843fc59334dd7a2a5f6aa8d656d /include/tests_nameservices | |
parent | 3bafb7739571303cecd9f60d7f2c4cee187806e7 (diff) |
Added more definitions for tools
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r-- | include/tests_nameservices | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices index 51c28311..1881bd1b 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -658,11 +658,11 @@ # # Test : NAME-4408 # Description : Check localhost entry - if [ ! -z "${GETENTBINARY}" ]; then PREQS_MET="YES"; SKIPREASON="No getent binary"; else PREQS_MET="NO"; SKIPREASON=""; fi + if [ ! -z "${GETENT_BINARY}" ]; then PREQS_MET="YES"; SKIPREASON="No getent binary"; else PREQS_MET="NO"; SKIPREASON=""; fi Register --test-no NAME-4408 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Check localhost entry" if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: Check server hostname not locally mapped in /etc/hosts" - FIND=$(${GETENTBINARY} hosts localhost | ${AWKBINARY} '{print $1}') + FIND=$(${GETENT_BINARY} hosts localhost | ${AWKBINARY} '{print $1}') if [ "${FIND}" = "127.0.0.1" ]; then LogText "Result: localhost mapped to 127.0.0.1" Display --indent 4 --text "- Checking /etc/hosts (localhost to IP)" --result "${STATUS_OK}" --color GREEN |