Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
shib-sp/tests/image.bats
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (23 sloc)
843 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bats | |
load ../common | |
@test "Shibd binary available" { | |
docker run -i $maintainer/$imagename find /usr/sbin/shibd | |
} | |
@test "Shibboleth root available" { | |
docker run -i $maintainer/$imagename find /etc/shibboleth | |
} | |
@test "Sample attribute map available" { | |
docker run -i $maintainer/$imagename find /etc/shibboleth/attribute-map.xml | |
} | |
@test "Includes InCommon cert" { | |
docker run -i $maintainer/$imagename find /etc/shibboleth/inc-md-cert.pem | |
} | |
@test "Includes Shibboleth keygenerator" { | |
docker run -i $maintainer/$imagename find /usr/local/bin/shibboleth_keygen.sh | |
} | |
@test "Includes httpd + shibd startup script" { | |
docker run -i $maintainer/$imagename find /usr/local/bin/httpd-shib-foreground | |
} | |
@test "070 There are no known security vulnerabilities" { | |
./tests/clairscan.sh ${maintainer}/${imagename}:latest | |
} |