[AUTH-9212] Added prerequisite to log

This commit is contained in:
Michael Boelen 2016-07-31 21:15:31 +02:00
parent 61c1b0d8e9
commit 290252b764
1 changed files with 2 additions and 1 deletions

View File

@ -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