All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [FIX HTML PATCH] ltp-genhtml
@ 2009-06-17 20:17 naresh kamboju
  2009-06-18  9:10 ` Francesco RUNDO
  0 siblings, 1 reply; 6+ messages in thread
From: naresh kamboju @ 2009-06-17 20:17 UTC (permalink / raw)
  To: ltp-list
  Cc: maxin john, brinda_mn, Manas Kumar Nayak, Oleg Nesterov, rohit.170309

[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

Hi,

I have noticed following issue and fixed.
1.   Kernel Version
2.   Machine Architecture.

Please find the patch below and as attachment.

Best regards
Naresh Kamboju

Signed-off-by: Naresh Kamboju < naresh.kernel@gmail.com >

diff -Naurb a/tools/genhtml.pl b/tools/genhtml.pl
--- a/tools/genhtml.pl	2009-04-02 12:07:28.000000000 +0530
+++ b/tools/genhtml.pl	2009-06-18 00:33:46.000000000 +0530
@@ -246,8 +246,12 @@
 print "<tr><td><strong>Total Test TWARN</strong></td><td><strong>
$warn_test_counter </strong></td></tr>\n";
 print "<tr><td><strong>Total Test TRETR</strong></td><td><strong>
$retr_test_counter </strong></td></tr>\n";
 print "<tr><td><strong>Total Test TCONF</strong></td><td><strong>
$conf_test_counter </strong></td></tr>\n";
-print "<tr><td><strong>Kernel Version</strong></td><td><strong>
$ENV{KERNEL_VERSION}  </strong></td></tr>\n";
-print "<tr><td><strong>Machine Architecture</strong></td><td><strong>
$ENV{MACHINE_ARCH} </strong></td></tr>\n";
+print "<tr><td><strong>Kernel_Version</strong>  </td> <td><strong>";
+$kernel_version=system("uname -r");             chop($kernel_version);
+print " $kernel_version </strong></td></tr>\n";
+print "<tr><td><strong>Machine_Arch</strong>  </td> <td><strong>";
+$machine_arch=system("uname -m");             chop($machine_arch);
+print " $machine_arch </strong></td></tr>\n";
 print "<tr><td><strong>Hostname</strong>  </td> <td><strong>";
 $hostname=system("uname -n");             chop($hostname);
 print " $hostname </strong></td></tr></tbody></table></div></body></html>\n";

[-- Attachment #2: ltp-fix-genhtml.patch --]
[-- Type: application/octet-stream, Size: 1324 bytes --]

diff -Naurb a/tools/genhtml.pl b/tools/genhtml.pl
--- a/tools/genhtml.pl	2009-04-02 12:07:28.000000000 +0530
+++ b/tools/genhtml.pl	2009-06-18 00:33:46.000000000 +0530
@@ -246,8 +246,12 @@
 print "<tr><td><strong>Total Test TWARN</strong></td><td><strong> $warn_test_counter </strong></td></tr>\n";
 print "<tr><td><strong>Total Test TRETR</strong></td><td><strong> $retr_test_counter </strong></td></tr>\n";
 print "<tr><td><strong>Total Test TCONF</strong></td><td><strong> $conf_test_counter </strong></td></tr>\n";
-print "<tr><td><strong>Kernel Version</strong></td><td><strong> $ENV{KERNEL_VERSION}  </strong></td></tr>\n";
-print "<tr><td><strong>Machine Architecture</strong></td><td><strong> $ENV{MACHINE_ARCH} </strong></td></tr>\n";
+print "<tr><td><strong>Kernel_Version</strong>  </td> <td><strong>";
+$kernel_version=system("uname -r");             chop($kernel_version); 
+print " $kernel_version </strong></td></tr>\n";
+print "<tr><td><strong>Machine_Arch</strong>  </td> <td><strong>";
+$machine_arch=system("uname -m");             chop($machine_arch); 
+print " $machine_arch </strong></td></tr>\n";
 print "<tr><td><strong>Hostname</strong>  </td> <td><strong>";
 $hostname=system("uname -n");             chop($hostname); 
 print " $hostname </strong></td></tr></tbody></table></div></body></html>\n";

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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

[-- Attachment #4: 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] 6+ messages in thread

end of thread, other threads:[~2009-06-19 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 20:17 [LTP] [FIX HTML PATCH] ltp-genhtml naresh kamboju
2009-06-18  9:10 ` Francesco RUNDO
2009-06-18 15:08   ` naresh kamboju
2009-06-19  9:02     ` Francesco RUNDO
2009-06-19 10:12       ` naresh kamboju
2009-06-19 12:19         ` Francesco RUNDO

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.