1
0
Fork 0
mirror of synced 2024-06-17 06:21:09 -04:00
tpm/test/run
2014-07-17 21:12:28 +02:00

24 lines
344 B
Bash
Executable file

#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
run_vagrant() {
vagrant up --provider=docker
}
stop_vagrant() {
vagrant halt
}
run_tests() {
# actually this test file should be run inside vagrant
$CURRENT_DIR/tests/test_plugin_installation.sh
}
main() {
run_vagrant
run_tests
stop_vagrant
}
main