]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-socket-util: Add tests for receive_fd_iov() and friends. 9712/head
authorFilipe Brandenburger <filbranden@google.com>
Wed, 25 Jul 2018 03:15:55 +0000 (20:15 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Thu, 2 Aug 2018 16:25:04 +0000 (09:25 -0700)
commit8a3386ab4fea9c4efa9c72e7c149cf510a46f03e
tree28b2e8a4c90bffdee0b96c09613efc9b4d6f24a6
parentd34673ecb825aa9ecf6958b0caab792f5061c56a
test-socket-util: Add tests for receive_fd_iov() and friends.

Test it when sending an FD without any contents, or an FD and some contents,
or only contents and no FD (using a bare send().)

Also fix the previous test which forked but was missing an _exit() at the
end of the child execution code.
src/test/test-socket-util.c