From 290252b764da17d3a1a382edaf50d9f4f0603c32 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 31 Jul 2016 21:15:31 +0200 Subject: [PATCH] [AUTH-9212] Added prerequisite to log --- include/tests_authentication | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index b752897d..e6e4ef60 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -94,7 +94,8 @@ # # Test : AUTH-9212 # Description : Test group file with chkgrp tool (ie FreeBSD) - if [ -f /usr/sbin/chkgrp ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi + LogText "Prerequisite test: /usr/sbin/chkgrp" + if [ -x /usr/sbin/chkgrp ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no AUTH-9212 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Test group file" if [ ${SKIPTEST} -eq 0 ]; then Display --indent 2 --text "- Checking chkgrp tool" --result "${STATUS_FOUND}" --color GREEN