From 6ebfe1474b3c2db6c052fa3d2f90a1bac25c3ec2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20Zingil=C3=A9?= Date: Thu, 16 Oct 2014 18:41:20 +0200 Subject: [PATCH] grep only on end of whole command line MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I25f1a648d2f0cc2303e4b692faa7da18694efaae Signed-off-by: Nicolas Zingilé --- testkitlite/commodule/tizenlocal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testkitlite/commodule/tizenlocal.py b/testkitlite/commodule/tizenlocal.py index f90fe82..b4e6df5 100644 --- a/testkitlite/commodule/tizenlocal.py +++ b/testkitlite/commodule/tizenlocal.py @@ -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 -- 2.34.1