aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_functions
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-27 19:13:10 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-27 19:13:10 +0000
commitee67201ca1d8c15d476366a6e2df660ed43781b7 (patch)
tree53468d2b8c251305aecf2604bf8a1ade677e9e1e /bootstrap/vagrant-onap/tests/test_functions
parent6642b8f93e0a109c2f85da27dc54453a833e070c (diff)
parentf6c0bf15311b7079eb385e5cfb82be915724ab17 (diff)
Merge "Fix regex for coverage projects function"
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_functions')
-rw-r--r--bootstrap/vagrant-onap/tests/test_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_functions b/bootstrap/vagrant-onap/tests/test_functions
index 8043ebbd7..3ab5828cb 100644
--- a/bootstrap/vagrant-onap/tests/test_functions
+++ b/bootstrap/vagrant-onap/tests/test_functions
@@ -178,7 +178,7 @@ function test_coverity_repos {
pushd /var/onap_tests/
cp projects.txt remaining_projects.txt
for covered_repo in "${repos_list[@]}"; do
- sed -i "/$covered_repo/d" remaining_projects.txt
+ sed -i '/^'${covered_repo//\//\\/}'$/d' remaining_projects.txt
done
threshold=75