Remove versioning of wgts from test
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 28 May 2020 09:46:57 +0000 (11:46 +0200)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 28 May 2020 09:46:57 +0000 (11:46 +0200)
This was removed thus there is no '@?.?' .

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
common/scripts/application-lifecycle.sh

index 0bc7f08..b54bb58 100755 (executable)
@@ -104,7 +104,7 @@ do
        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
@@ -148,7 +148,7 @@ do
                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