From: Ankit Jain <ankitja@vmware.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] realtime/func/pi-tests: testpi-2 parser indentation fix
Date: Mon, 3 May 2021 13:37:19 +0530 [thread overview]
Message-ID: <1620029239-31643-1-git-send-email-ankitja@vmware.com> (raw)
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
next reply other threads:[~2021-05-03 8:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 8:07 Ankit Jain [this message]
2021-05-03 11:36 ` [LTP] [PATCH] realtime/func/pi-tests: testpi-2 parser indentation fix Petr Vorel
2021-05-04 10:44 ` Ankit Jain
2021-05-04 11:00 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1620029239-31643-1-git-send-email-ankitja@vmware.com \
--to=ankitja@vmware.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox