grep only on end of whole command line 83/28883/1 accepted/tizen_tv accepted/tizen/common/20141017.144207 accepted/tizen/ivi/20141021.074650 submit/tizen/20141016.164527 submit/tizen_mobile/20141120.000000
authorNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Thu, 16 Oct 2014 16:41:20 +0000 (18:41 +0200)
committerNicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
Thu, 16 Oct 2014 16:41:20 +0000 (18:41 +0200)
Change-Id: I25f1a648d2f0cc2303e4b692faa7da18694efaae
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
testkitlite/commodule/tizenlocal.py

index f90fe82dd7aa0ee6a9bca05e9777415412484625..b4e6df53f44111be35a63416b406d4948d610953 100644 (file)
@@ -353,7 +353,7 @@ class tizenHost:
             cmdline = APP_NONBLOCK_STR % (wgt_name)
             exit_code, ret = shell_command(cmdline)
             time.sleep(3)
-            cmd = APP_QUERY_STR % (wgt_name)
+            cmd = APP_QUERY_STR % (wgt_name.split(" ")[-1])
             exit_code, ret = shell_command(cmd)
             if ret and len(ret):
                 blauched = True