Files
docker-machine/test/provision/rancheros.bats
Jean-Laurent de Morlhon abca150dd8 Move doubtfull provision test out of the integration folder
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-26 11:16:04 +01:00

20 lines
486 B
Bash

#!/usr/bin/env bats
load ${BASE_TEST_DIR}/helpers.bash
# this should move to the makefile
if [[ "$DRIVER" != "virtualbox" ]]; then
exit 0
fi
export RANCHEROS_VERSION="v0.3.1"
export RANCHEROS_ISO="https://github.com/rancherio/os/releases/download/$RANCHEROS_VERSION/machine-rancheros.iso"
@test "$DRIVER: create with RancherOS ISO" {
VIRTUALBOX_BOOT2DOCKER_URL="$RANCHEROS_ISO" run ${BASE_TEST_DIR}/run-bats.sh ${BASE_TEST_DIR}/core
echo ${output}
[ ${status} -eq 0 ]
}