diff options
author | Victor Morales <victor.morales@intel.com> | 2017-12-01 17:52:07 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-12-01 17:52:07 -0800 |
commit | 9d205bc0a4ec67b6b97cd5f6de07eba8eb835fd9 (patch) | |
tree | ccd7a56a9bbf6e0f80d1e360d977ef022f181886 /bootstrap/vagrant-onap/tests/asserts | |
parent | e62aae6b5d079c5175441686d49364b71741f6d9 (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-x | bootstrap/vagrant-onap/tests/asserts | 2 |
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 } |