Hi,

I have noticed fail and fixed.
1. newuname01.c


Please find the patch below and as attachment.

Best regards
Naresh Kamboju

Signed-off-by: Naresh Kamboju < [email protected] >

diff -Naurb a/testcases/kernel/syscalls/newuname/newuname01.c
b/testcases/kernel/syscalls/newuname/newuname01.c
--- a/testcases/kernel/syscalls/newuname/newuname01.c   2009-05-21
23:49:16.000000000 +0530
+++ b/testcases/kernel/syscalls/newuname/newuname01.c   2009-06-17
23:01:05.000000000 +0530
@@ -127,7 +127,7 @@
         for (lc = 0; TEST_LOOPING(lc); ++lc) {
                 Tst_count = 0;
                 for (testno = 0; testno < TST_TOTAL; ++testno) {
-                     TEST(syscall(122,&name));     //call newuname()
+                     TEST(syscall(__NR_uname,&name));     //call newuname()
                      if(TEST_RETURN == -1) {
                           tst_resm(TFAIL, "%s failed - errno = %d : %s",
TCID, TEST_ERRNO, strerror(TEST_ERRNO));
                            cleanup();

Attachment: ltp-fix-newuname.patch
Description: Binary data

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

Reply via email to