Skip to content
Permalink
9c76eb3eb7
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (20 sloc) 692 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 startup script" {
docker run -i $maintainer/$imagename find /usr/local/bin/startup.sh
}
@test "070 There are no known security vulnerabilities" {
./tests/clairscan.sh ${maintainer}/${imagename}:latest
}