Hi,

I have noticed fail and fixed.
1. set_tid_address01.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/set_tid_address/set_tid_address01.c
b/testcases/kernel/syscalls/set_tid_address/set_tid_address01.c
--- a/testcases/kernel/syscalls/set_tid_address/set_tid_address01.c     
2009-05-22
00:03:24.000000000 +0530
+++ b/testcases/kernel/syscalls/set_tid_address/set_tid_address01.c     
2009-06-17
23:18:57.000000000 +0530
@@ -125,7 +125,7 @@
         for (lc = 0; TEST_LOOPING(lc); ++lc) {
                 Tst_count = 0;
                 for (testno = 0; testno < TST_TOTAL; ++testno) {
-                     TEST(result = syscall(258, &newtid));     //call
set_tid_address()
+                     TEST(result = syscall(__NR_set_tid_address,
&newtid));     //call set_tid_address()
                      if(TEST_RETURN == getpid()) {
                        tst_resm(TPASS, "set_tid_address call succeeded: result 
=
%d (expected %d)",TEST_RETURN, result);
                      }

Attachment: ltp-fix-set_tid_address.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