On Wed, Apr 20, 2016 at 04:17:22PM +0800, Fei Jie wrote:
> diff --git a/tests/getsid.c b/tests/getsid.c
> new file mode 100644
> index 000..fbe1a56
> --- /dev/null
> +++ b/tests/getsid.c
> @@ -0,0 +1,23 @@
> +#include "tests.h"
> +#include
sys/syscall.h is not needed
> +#ifdef __NR_getsid
i
* tests/getsid.c: New file.
* tests/getsid.test: New test.
* tests/.gitignore: Add getsid.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add getsid.test.
---
tests/.gitignore | 1 +
tests/Makefile.am | 2 ++
tests/getsid.c| 23 +++
tests/getsid.test |