From 6d075aed0249d6279fd928a10e6084a665aec0b2 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 3 Jun 2015 10:30:34 +0200 Subject: [PATCH] test: don't invoke docker-machine directly Use `machine` helper for that. Signed-off-by: Vincent Bernat --- test/integration/run-bats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/run-bats.sh b/test/integration/run-bats.sh index 406e02cfc2..442da771a8 100755 --- a/test/integration/run-bats.sh +++ b/test/integration/run-bats.sh @@ -20,7 +20,7 @@ function quiet_run () { } function cleanup_machines() { - if [[ $(docker-machine ls -q | wc -l) -ne 0 ]]; then + if [[ $(machine ls -q | wc -l) -ne 0 ]]; then quiet_run machine stop $(machine ls -q) quiet_run machine rm $(machine ls -q) fi