summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-09-12 22:15:56 -0700
committerblsaws <bryan.sullivan@att.com>2016-09-12 22:15:56 -0700
commitad0824f422baf03b9fec8e7b0d330c0799e0da47 (patch)
tree8dcf28add41b2df25a9f9994b0e3ebfa30300570
parent933c0886e1230c52d7645d7c0f2034944f459a0c (diff)
Further fixes to error check...
JIRA: MODELS-23 Change-Id: I767fdf6d2bc0a42b5b3252fa172349a0448cef8c Signed-off-by: blsaws <bryan.sullivan@att.com>
-rw-r--r--tests/vHello_Tacker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vHello_Tacker.sh b/tests/vHello_Tacker.sh
index 26ac88b..31471e6 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 $(tacker vnf-show hello-world-tacker | grep ERROR) ]; then
+ if [ $(tacker vnf-show hello-world-tacker | grep -c ERROR) > 0 ]; then
echo "$0: hello-world-tacker VNF creation failed with state ERROR"
fail
fi