1
0
Fork 0
mirror of synced 2024-12-25 15:53:22 -05:00
tpm/test/run

24 lines
371 B
Text
Raw Normal View History

2014-05-24 09:38:41 -04:00
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
run_vagrant() {
vagrant up --provider=docker
}
stop_vagrant() {
vagrant destroy -f
}
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