1
0
Fork 0
mirror of synced 2025-04-17 03:59:48 -04:00
tpm/test/run

24 lines
350 B
Text
Raw Normal View History

2014-05-24 15:38:41 +02:00
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
run_vagrant() {
2014-05-24 23:18:37 +02:00
vagrant up --provider=docker
2014-05-24 15:38:41 +02:00
}
stop_vagrant() {
2014-05-24 23:18:37 +02:00
vagrant destroy -f
2014-05-24 15:38:41 +02:00
}
run_tests() {
2014-05-24 23:18:37 +02:00
# actually this test file should be run inside vagrant
$CURRENT_DIR/tests/test_plugin_installation.sh
2014-05-24 15:38:41 +02:00
}
main() {
2014-05-24 23:18:37 +02:00
run_vagrant
run_tests
stop_vagrant
2014-05-24 15:38:41 +02:00
}
main