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:
933c088
)
Further fixes to error check...
69/20969/1
author
blsaws
<bryan.sullivan@att.com>
Tue, 13 Sep 2016 05:15:56 +0000
(22:15 -0700)
committer
blsaws
<bryan.sullivan@att.com>
Tue, 13 Sep 2016 05:15:56 +0000
(22:15 -0700)
JIRA: MODELS-23
Change-Id: I767fdf6d2bc0a42b5b3252fa172349a0448cef8c
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
26ac88b
..
31471e6
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 [
! -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