Code Review
/
models.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ad0824f
)
One more fix to error check
71/20971/1
author
blsaws
<bryan.sullivan@att.com>
Tue, 13 Sep 2016 05:25:01 +0000
(22:25 -0700)
committer
blsaws
<bryan.sullivan@att.com>
Tue, 13 Sep 2016 05:25:01 +0000
(22:25 -0700)
JIRA: MODELS-23
Change-Id: I04d91542f580174de3900054861dcbb517416c1b
Signed-off-by: blsaws <bryan.sullivan@att.com>
tests/vHello_Tacker.sh
patch
|
blob
|
history
diff --git
a/tests/vHello_Tacker.sh
b/tests/vHello_Tacker.sh
index
31471e6
..
dd291ed
100644
(file)
--- 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