Skip to content
Permalink
e4b4887541
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (8 sloc) 338 Bytes
#!/usr/bin/env bats
load ../common
@test "curl should 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"* ]]
}
You can’t perform that action at this time.