Tests for module 'getsockname'. * modules/getsockname-tests: New file. * tests/test-getsockname.c: New file.