Bug fix: match only the scenario name 63/64063/2
authorManuel Buil <mbuil@suse.com>
Fri, 26 Oct 2018 09:36:22 +0000 (11:36 +0200)
committerManuel Buil <mbuil@suse.com>
Fri, 26 Oct 2018 09:41:54 +0000 (09:41 +0000)
commit351cef7b269f9f79c990ff39bc0205032a4d3465
tree3f9c7bea6a1bf692b403a838e9619e8e1f1026b0
parent3432b19a5859a8adfb5b96d2123f9f114830476c
Bug fix: match only the scenario name

Since this week we have two sfc scenarios:

- os-odl-sfc
- os-odl-sfc_osm

When $DEPLOY_SCENARIO=os-odl-sfc, using the current code testing_role
gets two values:
os-odl-sfc
os-odl-sfc_osm

This patch adds '$' character to prevent matching scenarios which
concatenate characters after $DEPLOY_SCENARIO

Change-Id: Ia0782362da04e8b3ecd2ec6f13ccc8c404797fda
Signed-off-by: Manuel Buil <mbuil@suse.com>
xci/files/xci-lib.sh