From 933c0886e1230c52d7645d7c0f2034944f459a0c Mon Sep 17 00:00:00 2001 From: blsaws Date: Tue, 13 Sep 2016 05:03:17 +0000 Subject: Fix error check JIRA: MODELS-23 Change-Id: I948c42c82d830552f1c6c1585fd5bb5d73f15860 Signed-off-by: blsaws --- tests/vHello_Tacker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg