mirror of https://github.com/docker/docs.git
Merge pull request #1295 from exoscale/fix/bats-invoking-docker-machine
test: don't invoke docker-machine directly
This commit is contained in:
commit
7397d15e60
|
@ -20,7 +20,7 @@ function quiet_run () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanup_machines() {
|
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 stop $(machine ls -q)
|
||||||
quiet_run machine rm $(machine ls -q)
|
quiet_run machine rm $(machine ls -q)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue