From 9d205bc0a4ec67b6b97cd5f6de07eba8eb835fd9 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Fri, 1 Dec 2017 17:52:07 -0800 Subject: Add MSB support The Microservices Bus project has been supported by this change Change-Id: Id86a0a300b2622ee4b0d362c798c9656cb41fa33 Signed-off-by: Victor Morales Issue-ID: INT-358 --- bootstrap/vagrant-onap/tests/asserts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap/vagrant-onap/tests/asserts') 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 } -- cgit 1.2.3-korg