Re: [PATCH] tests: Add tests for getpid and getppid

2017-04-06 Thread Dmitry V. Levin
On Mon, Apr 03, 2017 at 02:52:35AM +0530, Sandhya Bankar wrote: > Add tests for getpid and getppid. What's the use of testing these zero arguments syscalls? The syscall table is already tested by ksysent.test, and the return code is tested by almost every test. > --- a/tests/.gitignore > +++ b/te

[PATCH] tests: Add tests for getpid and getppid

2017-04-02 Thread Sandhya Bankar
Add tests for getpid and getppid. Signed-off-by: Sandhya Bankar --- tests/.gitignore | 2 ++ tests/Makefile.am | 2 ++ tests/getpid.c | 21 + tests/getpid.test | 6 ++ tests/getppid.c| 23 +++ tests/getppid.test | 6 ++ 6 files chan