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