[LTP] [PATCH] realtime/func/pi-tests: testpi-2 parser indentation fix

Ankit Jain ankitja@vmware.com
Mon May 3 10:07:19 CEST 2021


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


More information about the ltp mailing list