]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/unit: Add a assert for test_io_channel_unix_listen_cleanup
authorKunwu <chentao@kylinos.cn>
Thu, 10 Oct 2024 02:34:55 +0000 (10:34 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Oct 2024 12:41:45 +0000 (13:41 +0100)
commit08e702043fbee7b366d1d27c1b6682090c46c0d6
treead55af82212ead904db40e577951ef460d9d4f1b
parent95cc223afbde013c2dd0d6399211227861dbd9b2
tests/unit: Add a assert for test_io_channel_unix_listen_cleanup

Calling bind without checking return value. Add a assert for it.

Signed-off-by: Kunwu <chentao@kylinos.cn>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/unit/test-io-channel-socket.c