]> git.ipfire.org Git - thirdparty/systemd.git/commit
tests: add test program for SocketBind{Allow|Deny}=
authorJulia Kartseva <hex@fb.com>
Mon, 16 Nov 2020 08:26:44 +0000 (00:26 -0800)
committerJulia Kartseva <hex@fb.com>
Mon, 26 Apr 2021 23:26:28 +0000 (16:26 -0700)
commit28b76fc82aa16664353f417b39b6769842ea8502
tree3ba7500296c05b98b174b966ec63956856e35c7c
parent3d027d4d60d37de89eaebf2d106ec0c6a492db72
tests: add test program for SocketBind{Allow|Deny}=

Verify that service exited correctly if valid ports are passed to
SocketBind{Allow|Deny}=
Use `ncat` program starting a listening service binding to a specified
port, e.g.
"timeout --preserve-status -sSIGTERM 1s /bin/nc -l -p ${port} -vv"
src/test/meson.build
src/test/test-socket-bind.c [new file with mode: 0644]