Skip to content
Permalink
a299c9c24d
Go to file
 
 
Cannot retrieve contributors at this time
31 lines (23 sloc) 843 Bytes
#!/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
}
You can’t perform that action at this time.