All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] realtime/func/pi-tests: testpi-2 parser indentation fix
@ 2021-05-03  8:07 Ankit Jain
  2021-05-03 11:36 ` Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Ankit Jain @ 2021-05-03  8:07 UTC (permalink / raw)
  To: ltp

There is an indentation issue in parser for testpi-2
which causes incorect parsing of the logs.

Signed-off-by: Ankit Jain <ankitja@vmware.com>
---
 testcases/realtime/func/pi-tests/parse-testpi2.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/testcases/realtime/func/pi-tests/parse-testpi2.py b/testcases/realtime/func/pi-tests/parse-testpi2.py
index 69b2748..a455843 100644
--- a/testcases/realtime/func/pi-tests/parse-testpi2.py
+++ b/testcases/realtime/func/pi-tests/parse-testpi2.py
@@ -49,10 +49,8 @@ class TestPi2(Log):
					flag=True
				elif count == 0:
					return False
+			prev_line=line

-
-
-		prev_line=line
		if count>=2:
			return True
		else:
--
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-04 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03  8:07 [LTP] [PATCH] realtime/func/pi-tests: testpi-2 parser indentation fix Ankit Jain
2021-05-03 11:36 ` Petr Vorel
2021-05-04 10:44   ` Ankit Jain
2021-05-04 11:00     ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.