Commit Graph

2 Commits

Author SHA1 Message Date
c34e1c36ec tests: fix build on alpha
* tests/getpid.c: Skip if __NR_getpid is not defined.
* tests/getppid.c: Skip if __NR_getppid is not defined.

Fixes: fd1041f6 ("tests: add tests for getpid and getppid syscalls")
2017-04-11 04:04:37 +00:00
Sandhya Bankar
fd1041f6ac tests: add tests for getpid and getppid syscalls
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>

[ldv: rewritten everything]

* tests/getpid.c: New file.
* tests/getppid.c: Likewise.
* tests/.gitignore: Add getpid and getppid.
* tests/pure_executables.list: Likewise.
* tests/Makefile.am (check_PROGRAMS): Likewise.
* tests/gen_tests.in (getpid, getppid): New entries.
2017-04-07 01:21:36 +00:00