1
0
mirror of https://github.com/docker/docs.git synced 2026-11-09 15:48:07 +03:00

Merge pull request #1278 from jimmyxian/fix-rename-test

Fix rename test
This commit is contained in:
Victor Vieux
2015-10-11 15:07:54 -07:00

View File

@@ -25,7 +25,7 @@ function teardown() {
# rename container, conflict and fail
run docker_swarm rename test_container another_container
[ "$status" -ne 0 ]
[[ "${output}" == *"Conflict,"* ]]
[[ "${output}" == *"Conflict"* ]]
# rename container, successful
docker_swarm rename test_container rename_container
@@ -48,4 +48,4 @@ function teardown() {
docker_swarm rename test "$prefix"
run docker_swarm rename test "$id"
[ "$status" -eq 1 ]
}
}