From f6134de8c6c30fe284a3c54fe06d385cbc5da057 Mon Sep 17 00:00:00 2001 From: Xian Chaobo Date: Sat, 10 Oct 2015 16:55:52 +0800 Subject: [PATCH] fix rename test Signed-off-by: Xian Chaobo --- test/integration/api/rename.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/api/rename.bats b/test/integration/api/rename.bats index 8e11687ffc..48958ddafd 100644 --- a/test/integration/api/rename.bats +++ b/test/integration/api/rename.bats @@ -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 ] -} \ No newline at end of file +}