aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/asserts
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-12-01 17:52:07 -0800
committerVictor Morales <victor.morales@intel.com>2017-12-01 17:52:07 -0800
commit9d205bc0a4ec67b6b97cd5f6de07eba8eb835fd9 (patch)
treeccd7a56a9bbf6e0f80d1e360d977ef022f181886 /bootstrap/vagrant-onap/tests/asserts
parente62aae6b5d079c5175441686d49364b71741f6d9 (diff)
Add MSB support
The Microservices Bus project has been supported by this change Change-Id: Id86a0a300b2622ee4b0d362c798c9656cb41fa33 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-358
Diffstat (limited to 'bootstrap/vagrant-onap/tests/asserts')
-rwxr-xr-xbootstrap/vagrant-onap/tests/asserts2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/tests/asserts b/bootstrap/vagrant-onap/tests/asserts
index 0fc8d38a1..8eda3ce25 100755
--- a/bootstrap/vagrant-onap/tests/asserts
+++ b/bootstrap/vagrant-onap/tests/asserts
@@ -9,7 +9,7 @@ function asserts_http_status_code {
code=$(curl -I $url | head -n 1 | cut -d$' ' -f2)
local error_msg=${3:-"The URL $url responded with $code status code"}
- if [[ "$code" == "$expected_code" ]]; then
+ if [[ "$code" != "$expected_code" ]]; then
raise_error $error_msg
fi
}