From: Subrata <sub...@us...> - 2009-07-30 12:40:45
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/exit_group In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10669/ltp/testcases/kernel/syscalls/exit_group Modified Files: exit_group01.c Log Message: Fix the system call number of exit_group01. The system call number is depend on the system architecture, not always 252. This patch fixed the problem. Signed-off-by: Wei Yongjun <yj...@cn...>. Index: exit_group01.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/exit_group/exit_group01.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** exit_group01.c 21 May 2009 18:14:40 -0000 1.1 --- exit_group01.c 30 Jul 2009 12:40:33 -0000 1.2 *************** *** 137,141 **** tst_resm(TINFO, "In the child process"); sleep(5); ! TEST(syscall(252,4)); }else { tst_resm(TINFO,"in the parent process"); --- 137,141 ---- tst_resm(TINFO, "In the child process"); sleep(5); ! TEST(syscall(__NR_exit_group,4)); }else { tst_resm(TINFO,"in the parent process"); |