diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-13 12:36:55 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-15 16:58:22 +0000 |
commit | df17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch) | |
tree | 749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/tests/_test_base | |
parent | 1393fc2533cae1271126498f1661dec893922dae (diff) |
Deprecate vagrant-onap tool
The vagrant-onap tool needs to be moved to its own repo to have better
control of versions and autonomy. This change removes the project from
integration repository.
Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a
Issue-ID: INT-441
Diffstat (limited to 'bootstrap/vagrant-onap/tests/_test_base')
-rwxr-xr-x | bootstrap/vagrant-onap/tests/_test_base | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/bootstrap/vagrant-onap/tests/_test_base b/bootstrap/vagrant-onap/tests/_test_base deleted file mode 100755 index b30632d26..000000000 --- a/bootstrap/vagrant-onap/tests/_test_base +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -if [[ "$debug" == "True" ]]; then - set -o xtrace -fi - -source /var/onap_tests/asserts -source /var/onap/commons - -# main() - Starting point for Unit Tests -function main { - local covered_functions=("$@") - - update_repos - len=${#covered_functions[@]} - echo "1..$len" - for i in ${!covered_functions[@]}; do - dpkg --get-selections > installed-software - sort -o installed-software installed-software - test_${covered_functions[$i]} - echo "ok $((i+1)) - test_${covered_functions[$i]}" - - # Teardown process - if is_package_installed docker-ce; then - docker images -q | xargs docker rmi -f - fi - dpkg --get-selections > installed-software_new - sort -o installed-software_new installed-software_new - apt-get purge -y -qq $(comm -3 installed-software installed-software_new | awk '{print $1}') - #rm -rf $git_src_folder - #rm -rf ~/.m2/ - done -} |