[LTP] [PATCH] exit_group01, fix syscall number for exit_group

Henry Yei
2009-07-20T22:07:00Z

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

This issue was found when running on an arm machine.

Fix syscall number for exit_group

<Signed-off-by: Henry Yei <hyei@mvista.com>

---
ltp-full-20090531/testcases/kernel/syscalls/exit_group/exit_group01.c
2009-05-21 11:14:40.000000000 -0700
+++
ltp-full-20090531/testcases/kernel/syscalls/exit_group/exit_group01.c
2009-07-17 12:03:47.000000000 -0700
@@ -136,7 +136,7 @@
} else if (TEST_RETURN == 0){
tst_resm(TINFO, "In the child process");
sleep(5);
- TEST(syscall(252,4));
+ TEST(syscall(__NR_exit_group,4));
}else {
tst_resm(TINFO,"in the parent process");
TEST(w = wait(&status));

--
Henry Yei <hyei@mvista.com>
MontaVista Software

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2885 bytes --]

[-- Attachment #3: Type: text/plain, Size: 389 bytes --]

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]