aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/asserts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-12-02 07:06:30 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-02 07:06:30 +0000
commit7451e712d6b838f782b187e9eb1e7da156bd4e08 (patch)
tree98ebf0b53a1a359dd10f76e1f08a7860d6bc01b4 /bootstrap/vagrant-onap/tests/asserts
parent4a761513f252208150f2b7269449b422066e0be7 (diff)
parent9d205bc0a4ec67b6b97cd5f6de07eba8eb835fd9 (diff)
Merge "Add MSB support"
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
}