From 1cb1fc40ca5188dd3eef37c853fe3a76b22a37f7 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 28 Oct 2016 11:48:20 +0200 Subject: Added more definitions for tools --- include/tests_nameservices | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tests_nameservices') 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 -- cgit v1.2.3