device-drivers/rcu: add test to device-drivers/Makefile

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
doc: test-writing-guidelines

Add thread-safety paragraph
Add example of how to use TST_DECLARE_ONCE_FN

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
xinetd_test.sh: restart xinetd by restart_daemon()

Signed-off-by: Simon Xu <xu.simon@oracle.com>
pselect/pselect02.c: add new errno tests

Add EBADF and EINVAL errno tests for pselect(2).

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
syscalls/pselect01: Cleanup & fixes

* Remove useless comments

* Add option parsing and test looping

* Make use of SAFE_MACROS()

* etc...

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>