Code Review
/
src
/
qa-testdefinitions.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove versioning of wgts from test
[src/qa-testdefinitions.git]
/
common
/
scripts
/
application-lifecycle.sh
diff --git
a/common/scripts/application-lifecycle.sh
b/common/scripts/application-lifecycle.sh
index
0bc7f08
..
b54bb58
100755
(executable)
--- a/
common/scripts/application-lifecycle.sh
+++ b/
common/scripts/application-lifecycle.sh
@@
-104,7
+104,7
@@
do
fi
echo "DEBUG: check presence of $WGTNAME"
fi
echo "DEBUG: check presence of $WGTNAME"
- NAMEID=$(grep id\\\":\\\"${WGTNAME}
@
$LIST | cut -d\" -f4 | cut -d\\ -f1)
+ NAMEID=$(grep id\\\":\\\"${WGTNAME} $LIST | cut -d\" -f4 | cut -d\\ -f1)
if [ ! -z "$NAMEID" ];then
echo "DEBUG: $WGTNAME already installed as $NAMEID"
# need to kill then deinstall
if [ ! -z "$NAMEID" ];then
echo "DEBUG: $WGTNAME already installed as $NAMEID"
# need to kill then deinstall
@@
-148,7
+148,7
@@
do
lava-test-case afm-util-install-$WGTNAME --result pass
fi
# message is like \"added\":\"mediaplayer@0.1\"
lava-test-case afm-util-install-$WGTNAME --result pass
fi
# message is like \"added\":\"mediaplayer@0.1\"
- NAMEID=$(grep d\\\":\\\"${WGTNAME}
@
$OUT | cut -d\" -f4 | cut -d\\ -f1)
+ NAMEID=$(grep d\\\":\\\"${WGTNAME} $OUT | cut -d\" -f4 | cut -d\\ -f1)
if [ -z "$NAMEID" ];then
echo "ERROR: Cannot get nameid"
continue
if [ -z "$NAMEID" ];then
echo "ERROR: Cannot get nameid"
continue