Skip to content
Permalink
master
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
executable file 34 lines (27 sloc) 850 Bytes
#!/usr/bin/env bats
load ../common
@test "010 Image is present" {
docker image inspect $maintainer/$imagename:$tag
}
@test "020 Check basic components" {
docker run -i $maintainer/$imagename:$tag \
find \
/usr/local/bin/startup.sh \
/opt/midpoint/var/ \
/etc/shibboleth/ \
/etc/httpd/
}
@test "100 Cleanup before further tests - demo/simple" {
docker ps -a
cd demo/simple ; docker-compose down -v ; true
}
@test "110 Cleanup before further tests - demo/shibboleth" {
docker ps -a
cd demo/shibboleth ; docker-compose down -v ; true
}
@test "130 Cleanup before further tests - demo/grouper" {
docker ps -a
cd demo/grouper ; docker-compose down -v ; true
}
# not much more to check here, as we cannot start midpoint container without having a repository
# so continuing with tests in demo/plain directory