author | Sebastian Harl <sh@tokkee.org> | |
Mon, 16 Sep 2013 07:07:20 +0000 (09:07 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 16 Sep 2013 07:07:20 +0000 (09:07 +0200) | ||
commit | 8ade561fc2cea61f241d34d6e69b532081ac6752 | |
tree | f6a7d7879723792f926364beea2f1832424136cf | tree | snapshot |
parent | f5db16ff1304244a7781f0fb760328e4c32268fb | commit | diff |
unit tests: Added basic tests for unixsock utils; mocking libc I/O functions.
GNU libc's fopencookie is used to mock fdopen() and socket handling. This
allows to mock a UNIX socket.
GNU libc's fopencookie is used to mock fdopen() and socket handling. This
allows to mock a UNIX socket.
.gitignore | diff | blob | history | |
configure.ac | diff | blob | history | |
t/Makefile.am | diff | blob | history | |
t/libsysdb_net_test.c | [new file with mode: 0644] | blob |
t/libsysdb_test.c | diff | blob | history | |
t/libsysdb_test.h | diff | blob | history | |
t/utils/unixsock_test.c | [new file with mode: 0644] | blob |