Skip to content
Permalink
1894a02965
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
20 lines (15 sloc) 479 Bytes
#!/usr/bin/env bats
load ../common
# These tests assume the pipeline will start and stop the container.
@test "Leaves running process" {
result="$(docker ps | grep $imagename)"
[ "$result" != '' ]
}
@test "Exposes running HTTP service" {
result="$(docker exec -i $imagename curl http://localhost/)"
[ "$result" != '' ]
}
@test "Exposes running SSO process" {
result="$(docker exec -i $imagename curl http://localhost/Shibboleth.sso/Status)"
[ "$result" != '' ]
}