mirror of https://github.com/docker/docs.git
18 lines
350 B
Bash
18 lines
350 B
Bash
#!/usr/bin/env bats
|
|
|
|
load ${BASE_TEST_DIR}/helpers.bash
|
|
|
|
@test "$DRIVER: create" {
|
|
run machine create -d $DRIVER $NAME
|
|
}
|
|
|
|
@test "$DRIVER: regenerate the certs" {
|
|
run machine regenerate-certs -f $NAME
|
|
[[ ${status} -eq 0 ]]
|
|
}
|
|
|
|
@test "$DRIVER: make sure docker still works" {
|
|
run docker $(machine config $NAME) version
|
|
[[ ${status} -eq 0 ]]
|
|
}
|