public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* Re: [LTP] Patch to record kernel dump message to each testcases log
@ 2010-10-12 12:56 hake huang
  2010-10-12 20:21 ` Garrett Cooper
  0 siblings, 1 reply; 10+ messages in thread
From: hake huang @ 2010-10-12 12:56 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 582 bytes --]

Hi,

I wnat LTP to record the kernel dump message during each test case, and I
make a patch for this. Any comments?


@@ -1238,6 +1242,7 @@ write_test_end(struct tag_pgrp *running, const char
*init_status,
                int term_id, struct tms *tms1, struct tms *tms2)
 {
     if (!strcmp(reporttype, "rts")) {
+       system("/bin/dmesg -c");
        printf("%s\ninitiation_status=\"%s\"\nduration=%ld
termination_type=%s "
                "termination_id=%d corefile=%s\ncutime=%d cstime=%d\n%s\n",
                        "<<<execution_status>>>", init_status,

Regards,

Hake

[-- Attachment #1.2: Type: text/html, Size: 717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 369 bytes --]

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2010-10-13  7:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 12:56 [LTP] Patch to record kernel dump message to each testcases log hake huang
2010-10-12 20:21 ` Garrett Cooper
2010-10-13  4:38   ` hake huang
2010-10-13  4:58     ` Garrett Cooper
2010-10-13  5:30       ` hake huang
2010-10-13  6:52         ` Subrata Modak
2010-10-13  6:56           ` Subrata Modak
2010-10-13  7:00             ` hake huang
2010-10-13  7:04               ` Subrata Modak
2010-10-13  7:07                 ` hake huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox