Skip to content
Permalink
cc6760138b
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
Latest commit 7c1083f Aug 3, 2016 History
0 contributors

Users who have contributed to this file

16 lines (12 sloc) 441 Bytes
#!/usr/bin/env bats
load ../common
@test "Base container is running" {
run docker inspect $maintainer/$imagename
[ "$status" -eq 0 ]
}
@test "curl can connect to InCommon cert chain site successfully" {
run docker run -i $maintainer/$imagename curl -o /dev/null --silent --head --write-out '%{http_code}\n' https://github.internet2.edu/
echo ${output}
[ "$status" -eq 0 ]
[[ ${output} == *"302"* || ${output} == *"200"* ]]
}