integration: Fix API # nodes check.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-03-09 15:32:14 -07:00
parent 58a373b7bb
commit 64eeb7e3c9
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ function teardown() {
start_manager
run docker_swarm info
[ "$status" -eq 0 ]
[ "${lines[1]}"="Nodes: 3" ]
[[ "${lines[1]}" == *"Nodes: 3" ]]
}