summaryrefslogtreecommitdiff
path: root/src/test/test-socket-util.c
Commit message (Collapse)AuthorAge
* Remove src/testAndy Wingo2015-04-19
|
* treewide: no need to negate errno for log_*_errno()Michal Schmidt2014-11-28
| | | | It corrrectly handles both positive and negative errno values.
* treewide: auto-convert the simple cases to log_*_errno()Michal Schmidt2014-11-28
| | | | | | | | | | | | | As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno().
* test: only use assert_seThomas Hindoe Paaboel Andersen2014-10-04
| | | | | The asserts used in the tests should never be allowed to be optimized away
* tests: add tests for socket-util.cRonny Chevalier2014-08-18
| | | | | | | add tests for: - socket_address_is - socket_address_is_netlink - sockaddr_equal
* test-socket-util: silence warningsThomas Hindoe Paaboel Andersen2014-07-16
|
* shared/socket-util: add function to query remote addressZbigniew Jędrzejewski-Szmek2014-07-15
|
* shared: split out in_addr related calls from socket-util.[ch] into its ↵Lennart Poettering2014-07-10
| | | | | | | private in-addr-util.[ch] These are enough calls for a new file, and they are sufficiently different from the sockaddr-related calls, hence let's split this out.
* networkd: add a number of calls to manipulate in_addr_union structsLennart Poettering2014-06-18
|
* tests: add test-socket-utilRonny Chevalier2014-06-16