summaryrefslogtreecommitdiffstats
path: root/kud/tests/plugin_fw.sh
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-11-19 18:08:24 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-19 18:08:24 +0000
commitb6e5bdcd211bb574488f64ff7ed95967eca42d0e (patch)
treed733f0b4a18cf79e971856fc5dcd9a1009094ce1 /kud/tests/plugin_fw.sh
parentffd4885d21079ae1b69931a6915da327c0bc201f (diff)
parent2ecb1c0e5ba7a8b0029da0ae7c58984a24049dfd (diff)
Merge "Properly escape query string to jq"
Diffstat (limited to 'kud/tests/plugin_fw.sh')
-rwxr-xr-xkud/tests/plugin_fw.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/tests/plugin_fw.sh b/kud/tests/plugin_fw.sh
index a503d661..de9c12e2 100755
--- a/kud/tests/plugin_fw.sh
+++ b/kud/tests/plugin_fw.sh
@@ -124,9 +124,9 @@ print_msg "Retrieving VNF details"
response="$(call_api "${base_url}/instance/${vnf_id}")"
echo "$response"
print_msg "Assert additional label has been assigned to rb instance"
-test "$(jq -r .request.labels.testCaseName <<< "${response}")" == plugin_fw.sh
+test "$(jq -r '.request.labels.testCaseName' <<< "${response}")" == plugin_fw.sh
print_msg "Assert ReleaseName has been correctly overriden"
-test "$(jq -r .request.release-name <<< "${response}")" == "${release_name}"
+test "$(jq -r '.request."release-name"' <<< "${response}")" == "${release_name}"
#Teardown
print_msg "Deleting VNF Instance"