[PKGS-7370] only use debsums test for Debian systems

This commit is contained in:
Michael Boelen 2017-07-10 16:08:32 +02:00
parent df32cb29b0
commit d1969001c6
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@
# Test : PKGS-7370 # Test : PKGS-7370
# Description : Checking debsums installation status and presence in cron job # Description : Checking debsums installation status and presence in cron job
# Note : Run this only when it is a DPKG based system # Note : Run this only when it is a DPKG based system
if [ ! -z "${DPKGBINARY}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi if [ ! -z "${DPKGBINARY}" -a "${LINUX_VERSION}" = "Debian" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
Register --test-no "PKGS-7370" --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking for debsums utility" Register --test-no "PKGS-7370" --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking for debsums utility"
if [ ${SKIPTEST} -eq 0 ]; then if [ ${SKIPTEST} -eq 0 ]; then
if [ ! -z "${DEBSUMSBINARY}" ]; then if [ ! -z "${DEBSUMSBINARY}" ]; then