Merge pull request #783 from vieux/fix_image_match

fix image.Match to take only repo or repo:tag
This commit is contained in:
Andrea Luzzardi
2015-05-13 19:05:30 -07:00
3 changed files with 35 additions and 1 deletions

View File

@@ -47,3 +47,12 @@ function teardown() {
[ "${#lines[@]}" -eq 0 ]
done
}
@test "docker rmi prefix" {
start_docker_with_busybox 1
swarm_manage
run docker_swarm rmi bus
[ "$status" -ne 0 ]
[[ "${output}" == *"No such image"* ]]
}