]> git.proxmox.com Git - swtpm.git/commit
tests: Use SOCK_STREAM for CMD_SET_DATAFD socketpair
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 22 Sep 2022 14:28:21 +0000 (10:28 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 22 Sep 2022 17:27:38 +0000 (13:27 -0400)
commit1f36b7fec47b1f3d2f9d19bbdc94cca6f4041067
tree81190d0c64f1733f9e9ce470c4f6ebcfa9da1d72
parentd5296e19e7d6ba545e17b66949302430eceebb91
tests: Use SOCK_STREAM for CMD_SET_DATAFD socketpair

Switch to SOCK_STREAM for the CMD_SET_DATAFD socketpair where the one
end is passed to swtpm to test that this type of socket will cause
automatic termination of swtpm when the connection is lost. This is also
the socket type that QEMU uses.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
tests/test_ctrlchannel3
tests/test_setdatafd.py