Hi, I have noticed following failures and fixed. 1. tkill01.c 2. tkill02.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/tkill/tkill01.c b/testcases/kernel/syscalls/tkill/tkill01.c --- a/testcases/kernel/syscalls/tkill/tkill01.c 2009-05-22 00:15:51.000000000 +0530 +++ b/testcases/kernel/syscalls/tkill/tkill01.c 2009-06-17 23:03:45.000000000 +0530 @@ -140,13 +140,13 @@ Tst_count = 0; for (testno = 0; testno < TST_TOTAL; ++testno) { TEST(signal(SIGUSR1, &sig_action)); - TEST(tid = syscall(224)); + TEST(tid = syscall( __NR_gettid)); if(TEST_RETURN == -1) { tst_resm(TFAIL, "%s failed - errno = %d : %s", TCID, TEST_ERRNO, strerror(TEST_ERRNO)); cleanup(); tst_exit(); } - TEST(syscall(238,tid, SIGUSR1)); + TEST(syscall(__NR_tkill,tid, SIGUSR1)); if(TEST_RETURN == 0) { if(!sig_count); tst_resm(TPASS, "tkill call succeeded"); diff -Naurb a/testcases/kernel/syscalls/tkill/tkill02.c b/testcases/kernel/syscalls/tkill/tkill02.c --- a/testcases/kernel/syscalls/tkill/tkill02.c 2009-05-22 00:17:14.000000000 +0530 +++ b/testcases/kernel/syscalls/tkill/tkill02.c 2009-06-17 23:37:21.000000000 +0530 @@ -139,7 +139,7 @@ for (testno = 0; testno < TST_TOTAL; ++testno) { for(i=0; i<2; i++){ - TEST(syscall(238, test_cases[i].tid, SIGUSR1)); + TEST(syscall(__NR_tkill, test_cases[i].tid, SIGUSR1)); if(TEST_RETURN == -1) { if(TEST_ERRNO == test_cases[i].exp_errno){ tst_resm(TINFO, "%s() call with tid:%d got expected errno:%d", TCID, test_cases[i].tid,TEST_ERRNO);
ltp-fix-tkill.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
