mirror of https://github.com/docker/docs.git
test: don't invoke docker-machine directly
Use `machine` helper for that. Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
This commit is contained in:
parent
4a54559233
commit
6d075aed02
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue