From 3d656a8c5d3c015fd87252117ad821ef03dee556 Mon Sep 17 00:00:00 2001 From: blsaws Date: Mon, 12 Sep 2016 22:25:01 -0700 Subject: One more fix to error check JIRA: MODELS-23 Change-Id: I04d91542f580174de3900054861dcbb517416c1b Signed-off-by: blsaws --- tests/vHello_Tacker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/vHello_Tacker.sh') diff --git a/tests/vHello_Tacker.sh b/tests/vHello_Tacker.sh index 31471e6..dd291ed 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 [ $(tacker vnf-show hello-world-tacker | grep -c ERROR) > 0 ]; then + if [ "$(tacker vnf-show hello-world-tacker | grep -c ERROR)" == "1" ]; then echo "$0: hello-world-tacker VNF creation failed with state ERROR" fail fi -- cgit 1.2.3-korg