tests: Added two new tests aimed to setgid() and getgid() functions.
authorRobin Hack <hack.robin@gmail.com>
Fri, 26 Sep 2014 14:17:18 +0000 (16:17 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 6 Oct 2014 14:16:09 +0000 (16:16 +0200)
commit9a4fc5759d5f5af59024dbe48d262277b7e91ce9
tree4b63cedd42050b6d6387364a30517e36cdf77d2c
parent6440f8e7f368c06b56622c9b9b443041d932db88
tests: Added two new tests aimed to setgid() and getgid() functions.

New tests:
 * test_sync_setgid - test if call of setgid() in thread changes gid
                      of main process
 * test_sync_setgid_syscall - test setgid() syscall

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
tests/test_glibc_thread_support.c