summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-20 16:40:57 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-09-20 14:43:27 +0000
commitd172a8fc6c9538107dba94f5a9bbb08945338bf2 (patch)
tree04f66ea0822a8cefd943caad9496b3024e001edc /ci
parentcfc29580bfc2dfc8bbd418ca242e1aa7ec0a5e1f (diff)
[ODL-SFC] Bugfix: replace string "22" by "22/tcp"
This fixes a small bug in https://gerrit.opnfv.org/gerrit/#/c/21833/ JIRA: JIRA: SFC-48 Change-Id: I92ad973369109a107700443c074dfae6f6c21516 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 248af30770fc0c882122c429a3bf033a37c5c167)
Diffstat (limited to 'ci')
-rwxr-xr-xci/exec_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index 791a80bcf..676c0d520 100755
--- a/ci/exec_test.sh
+++ b/ci/exec_test.sh
@@ -63,7 +63,7 @@ function odl_tests(){
function sfc_prepare(){
ids=($(neutron security-group-list|grep default|awk '{print $2}'))
for id in ${ids[@]}; do
- if ! neutron security-group-show $id|grep 22 &>/dev/null; then
+ if ! neutron security-group-show $id|grep "22/tcp" &>/dev/null; then
neutron security-group-rule-create --protocol tcp \
--port-range-min 22 --port-range-max 22 --direction ingress $id
neutron security-group-rule-create --protocol tcp \