diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-03-22 17:16:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 17:16:09 +0300 |
commit | 058b071ea2c1a4f6b8c0a37fcf4eeeccf457da0c (patch) | |
tree | f1908b8da49ee5f11bf3830fcf2aec9ffb877776 /include/tests_authentication | |
parent | 48367b20a02f7c8c393104cea684ff51acb6e2ec (diff) | |
parent | 33ba896b41b194ceced8a29910f172f18f4f0644 (diff) |
Merge pull request #877 from bginsbach/auth-9268-add-bsd
Add FreeBSD and NetBSD to AUTH-9268
Diffstat (limited to 'include/tests_authentication')
-rw-r--r-- | include/tests_authentication | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 9496380b..f0b61ba2 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -703,8 +703,13 @@ # # Test : AUTH-9268 # Description : Searching available PAM files - # Notes : PAM is used on AIX, FreeBSD, Linux, HPUX, Solaris - if [ ${OS} = "AIX" -o ${OS} = "Linux" -o ${OS} = "HPUX" -o ${OS} = "Solaris" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi + # Notes : PAM is used on AIX, FreeBSD, Linux, HPUX, NetBSD, Solaris + case "${OS}" in + "AIX"|"FreeBSD"|"Linux"|"HPUX"|"NetBSD"|"Solaris") + PREQS_MET="YES" ;; + *) + PREQS_MET="NO" ;; + esac Register --test-no AUTH-9268 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking presence pam.d files" if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 |