Hi,

I have noticed fail and fixed.
1. ssetmask01.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/ssetmask/ssetmask01.c
b/testcases/kernel/syscalls/ssetmask/ssetmask01.c
--- a/testcases/kernel/syscalls/ssetmask/ssetmask01.c   2009-05-22
00:09:52.000000000 +0530
+++ b/testcases/kernel/syscalls/ssetmask/ssetmask01.c   2009-06-17
23:21:55.000000000 +0530
@@ -125,14 +125,14 @@
         for (lc = 0; TEST_LOOPING(lc); ++lc) {
                 Tst_count = 0;
                 for (testno = 0; testno < TST_TOTAL; ++testno) {
-                    syscall(69,SIGALRM);
-                     TEST(syscall(68));     //call ssetmask()
+                    syscall(__NR_ssetmask,SIGALRM);
+                     TEST(syscall(__NR_sgetmask));     //call ssetmask()
                      if(TEST_RETURN != SIGALRM) {
                           tst_resm(TFAIL, "%s failed - errno = %d : %s",
TCID, TEST_ERRNO, strerror(TEST_ERRNO));
                            cleanup();
                           tst_exit();
                      }
-                     TEST(syscall(69,SIGUSR1));     //call ssetmask()
+                     TEST(syscall(__NR_ssetmask,SIGUSR1));     //call
ssetmask()
                      if(TEST_RETURN != SIGALRM) {
                           tst_resm(TFAIL, "%s failed - errno = %d : %s",
TCID, TEST_ERRNO, strerror(TEST_ERRNO));
                            cleanup();

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