Code

unit tests: Added basic tests for unixsock utils; mocking libc I/O functions.
authorSebastian Harl <sh@tokkee.org>
Mon, 16 Sep 2013 07:07:20 +0000 (09:07 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 16 Sep 2013 07:07:20 +0000 (09:07 +0200)
commit8ade561fc2cea61f241d34d6e69b532081ac6752
treef6a7d7879723792f926364beea2f1832424136cf
parentf5db16ff1304244a7781f0fb760328e4c32268fb
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.
.gitignore
configure.ac
t/Makefile.am
t/libsysdb_net_test.c [new file with mode: 0644]
t/libsysdb_test.c
t/libsysdb_test.h
t/utils/unixsock_test.c [new file with mode: 0644]