]> Savannah Git Hosting - gnulib.git/commit
sys_socket tests: Improve tests for macro definitions.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 23 Jul 2024 03:54:17 +0000 (20:54 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 23 Jul 2024 03:54:17 +0000 (20:54 -0700)
commit4f7969ccb3036e9bef5bfc2fbfef3263d5255376
tree2f566fa9d84265861ff42d001c0017d72bfe701f
parentbeb4e55021ff436399a81010ad34fa403c837e6b
sys_socket tests: Improve tests for macro definitions.

* modules/sys_socket-tests (Depends-on): Add assert-h.
* tests/test-sys_socket.c (a): Remove variable.
(main): Test that each supported address family is defined to a distinct
value. Test that each constant passed as the second argument of
'shutdown' is defined to a distinct value.
ChangeLog
modules/sys_socket-tests
tests/test-sys_socket.c