diff options
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 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 |