From: blsaws Date: Tue, 13 Sep 2016 05:03:17 +0000 (+0000) Subject: Fix error check X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F20967%2F1;p=models.git Fix error check JIRA: MODELS-23 Change-Id: I948c42c82d830552f1c6c1585fd5bb5d73f15860 Signed-off-by: blsaws --- diff --git a/tests/vHello_Tacker.sh b/tests/vHello_Tacker.sh index 890f677..26ac88b 100644 --- a/tests/vHello_Tacker.sh +++ b/tests/vHello_Tacker.sh @@ -81,7 +81,7 @@ start() { while [[ -z $active ]] do active=$(tacker vnf-show hello-world-tacker | grep ACTIVE) - if [ ! -z error=$(tacker vnf-show hello-world-tacker | grep ERROR) ]; then + if [ ! -z $(tacker vnf-show hello-world-tacker | grep ERROR) ]; then echo "$0: hello-world-tacker VNF creation failed with state ERROR" fail fi