diff options
author | 2016-09-12 22:25:01 -0700 | |
---|---|---|
committer | 2016-09-12 22:25:01 -0700 | |
commit | 3d656a8c5d3c015fd87252117ad821ef03dee556 (patch) | |
tree | fd5452ef3014b7175278d014a7c22d2494b061ea /tests | |
parent | ad0824f422baf03b9fec8e7b0d330c0799e0da47 (diff) |
One more fix to error check
JIRA: MODELS-23
Change-Id: I04d91542f580174de3900054861dcbb517416c1b
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/vHello_Tacker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |