Use OS full name to detect distribution

This commit is contained in:
Michael Boelen 2016-09-24 14:58:30 +02:00
parent db419495bf
commit 780e66ea81
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@
#
# Test : PKGS-7320
# Description : Check available of arch-audit
if [ "${OSNAME}" = "Arch Linux" ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="Test only applies to Arch Linux"; fi
if [ "${OS_FULLNAME}" = "Arch Linux" ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="Test only applies to Arch Linux"; fi
Register --test-no PKGS-7320 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Checking for arch-audit tooling"
if [ ${SKIPTEST} -eq 0 ]; then
if [ -z "${ARCH_AUDIT_BINARY}" ]; then