Permalink
Aug 24, 2016
Newer
100644
21 lines (15 sloc)
481 Bytes

1
#!/usr/bin/env bats
2
3
load ../common
4
5
# These tests assume the pipeline will start and stop the container.
6
7
@test "Leaves running process" {
8
result="$(docker ps | grep $imagename)"
9
[ "$result" != '' ]
10
}
11
12
@test "Exposes running HTTP service" {
13
result="$(docker exec -i $imagename curl http://localhost/)"
14
[ "$result" != '' ]
15
}
16
17
@test "Exposes running SSO process" {
18
result="$(docker exec -i $imagename curl http://localhost/Shibboleth.sso/Status)"
19
[ "$result" != '' ]