From: rasibley <rasibley@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] Update dynamic_debug grep check
Date: Fri, 4 Oct 2019 14:44:36 -0400 [thread overview]
Message-ID: <20191004184436.30922-1-rasibley@redhat.com> (raw)
If running on debug kernel this check will fail on EDAC DEBUG messages,
update grep to ignore such cases like this.
---
testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh b/testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh
index f39d67d0a..7f06c2488 100755
--- a/testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh
+++ b/testcases/kernel/tracing/dynamic_debug/dynamic_debug01.sh
@@ -127,7 +127,7 @@ ddebug_test()
sed -i -e 1,`wc -l < ./dmesg.old`d ./dmesg.new
if grep -q -e "Kernel panic" -e "Oops" -e "general protection fault" \
-e "general protection handler: wrong gs" -e "\(XEN\) Panic" \
- -e "fault" -e "warn" -e "BUG" ./dmesg.new ; then
+ -e "fault" -e "warn" -e "\<BUG\>" ./dmesg.new ; then
tst_res TFAIL "Issues found in dmesg!"
else
tst_res TPASS "Dynamic debug OK"
--
2.20.1
next reply other threads:[~2019-10-04 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-04 18:44 rasibley [this message]
2019-10-07 14:03 ` [LTP] [PATCH] Update dynamic_debug grep check Cyril Hrubis
2019-10-07 19:19 ` Jan Stancek
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=20191004184436.30922-1-rasibley@redhat.com \
--to=rasibley@redhat.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