summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/asserts
diff options
context:
space:
mode:
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
}