debian-forge/test/mod
Christian Kellner abbdf06ba5 jsoncomm: switch to use sequenced-packet sockets
Switch to use a connection oriented datagram based protocol, i.e.
`SOCK_SEQPACKET`, instead of `SOCK_DGRAM`. It sill preserves
message boundaries, but since it is connection oriented the client
nor the server do not need to specify the destination addresses
of the peer in sendmsg/recvmesg. Moreover, the host will be able
to send messages to the client, even if the latter is sandboxed
with a separate network namespace. In the `SOCK_DRAM` case the
auto-bound address of the client would not be visible to the host
and thus sending messages would to it would fail.

Adapt the jsoncomm tests as well as `BaseAPI`.
2020-07-29 02:16:20 +01:00
..
__init__.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_api.py test/api: add build root integration check 2020-07-27 12:50:38 +01:00
test_monitor.py osbuild: auto-generate socket addresses for APIs 2020-07-27 12:50:38 +01:00
test_objectstore.py test/objectstore: proper path concatenation 2020-07-22 09:37:30 +01:00
test_osbuild.py test/osbuild: add run tests for stages, assembler 2020-07-22 09:37:30 +01:00
test_util_ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
test_util_jsoncomm.py jsoncomm: switch to use sequenced-packet sockets 2020-07-29 02:16:20 +01:00
test_util_linux.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_osrelease.py test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
test_util_ostree.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00
test_util_rmrf.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_selinux.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00