Convert linktest.pl to use standard test results output format.

---
 testcases/kernel/fs/linktest/linktest.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- ltp-full-20070630.orig/testcases/kernel/fs/linktest/linktest.pl
+++ ltp-full-20070630/testcases/kernel/fs/linktest/linktest.pl
@@ -51,6 +51,6 @@ unlink <hlink/hfile*>;
 unlink <slink/sfile*>;
 rmdir hlink;
 rmdir slink;
-printf ("Hard Link Errors    :%d\n",$herrors);
-printf ("Symbolic Link Errors:%d\n",$serrors);
 
+printf ("%-8s %4d       %s  :  %s:%d\n", "linker01", 0, $herrors == 0 ? "PASS" 
: "FAIL", "Hard Link Errors    ", $herrors);
+printf ("%-8s %4d       %s  :  %s:%d\n", "linker01", 0, $serrors == 0 ? "PASS" 
: "FAIL", "Symbolic Link Errors", $serrors);

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to