Skip to content
Permalink
Newer
Older
100644 27 lines (20 sloc) 692 Bytes
1
#!/usr/bin/env bats
2
3
load ../common
4
5
@test "Shibd binary available" {
6
docker run -i $maintainer/$imagename find /usr/sbin/shibd
7
}
8
9
@test "Shibboleth root available" {
10
docker run -i $maintainer/$imagename find /etc/shibboleth
11
}
12
13
@test "Sample attribute map available" {
Oct 12, 2018
14
docker run -i $maintainer/$imagename find /etc/shibboleth/attribute-map.xml
15
}
16
17
@test "Includes InCommon cert" {
Oct 12, 2018
18
docker run -i $maintainer/$imagename find /etc/shibboleth/inc-md-cert.pem
Oct 13, 2018
21
@test "Includes startup script" {
22
docker run -i $maintainer/$imagename find /usr/local/bin/startup.sh
Oct 12, 2018
23
}
24
Oct 13, 2018
25
@test "070 There are no known security vulnerabilities" {
26
./tests/clairscan.sh ${maintainer}/${imagename}:latest
27
}
You can’t perform that action at this time.