summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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