Change run_multiversion.sh to get Docker engine versions from dind container

This is much better than downloading the builds with curl, because
Docker is intelligent about only pulling what it needs.

We use tagged versions of dind for the released version, and dind-master
for a master build.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
Aaron Lehmann 2015-07-30 15:38:33 -07:00
parent e564231f58
commit 1368e2ac53
2 changed files with 22 additions and 14 deletions

View file

@ -16,9 +16,9 @@ function setup() {
# skip basic auth tests with Docker 1.6, where they don't pass due to
# certificate issues
function basic_auth_version_check() {
run sh -c 'docker version | fgrep -q "Client version: 1.6.0"'
run sh -c 'docker version | fgrep -q "Client version: 1.6."'
if [ "$status" -eq 0 ]; then
skip "Basic auth tests don't support 1.6.0"
skip "Basic auth tests don't support 1.6.x"
fi
}