Add test case for pthread_[sg]etname_np.
authorCarlos O'Donell <carlos@redhat.com>
Thu, 12 Dec 2013 05:44:29 +0000 (00:44 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 12 Dec 2013 06:30:28 +0000 (01:30 -0500)
commit1db94db157ed6c9e233178c9f3d21be46a1d181e
tree5df644bfc7cb828e2f34897aab4919dfee5a5552
parent19b5525e525601bf5cc0279c6950e79157c670b1
Add test case for pthread_[sg]etname_np.

This commit adds a testcase for pthread_setname_np
and pthread_getname_np. The testcase itself has
four tests to validate that these functions work
as expected. The test is only enabled for Linux
since it requires access to an alternate method
for validating the functions work.
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/Makefile
nptl/sysdeps/unix/sysv/linux/tst-setgetname.c [new file with mode: 0644]