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
------------------------------------------------------------------------------
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
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to