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