aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/_test_base
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/tests/_test_base')
-rwxr-xr-x[-rw-r--r--]bootstrap/vagrant-onap/tests/_test_base6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/tests/_test_base b/bootstrap/vagrant-onap/tests/_test_base
index 78c7f8bb4..b30632d26 100644..100755
--- a/bootstrap/vagrant-onap/tests/_test_base
+++ b/bootstrap/vagrant-onap/tests/_test_base
@@ -1,5 +1,9 @@
#!/bin/bash
+if [[ "$debug" == "True" ]]; then
+ set -o xtrace
+fi
+
source /var/onap_tests/asserts
source /var/onap/commons
@@ -17,7 +21,7 @@ function main {
echo "ok $((i+1)) - test_${covered_functions[$i]}"
# Teardown process
- if ! is_package_installed docker-ce; then
+ if is_package_installed docker-ce; then
docker images -q | xargs docker rmi -f
fi
dpkg --get-selections > installed-software_new