Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:CZ-NIC:knot-dns-devel
knot
01-test_net-disable-udp-send-on-unconnected.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 01-test_net-disable-udp-send-on-unconnected.patch of Package knot
Author: Tomas Krizek <tomas.krizek@nic.cz> Date: 2019-02-28 14:26:56 +0100 test_net: disable UDP send on unconnected This test started to fail with 5.0 kernel in F30+ on aarch64 and s390x. The functionality isn't used by Knot DNS, so disabling this test until the issue is resolved should be safe. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1675235 diff --git a/tests/contrib/test_net.c b/tests/contrib/test_net.c index 0a22abbbc..6ec4bda31 100644 --- a/tests/contrib/test_net.c +++ b/tests/contrib/test_net.c @@ -310,10 +310,6 @@ static void test_unconnected(void) r = net_dgram_recv(sock, buffer, buffer_len, TIMEOUT_SHORT); is_int(KNOT_ETIMEOUT, r, "UDP, receive timeout on unconnected socket"); - struct sockaddr_storage server_addr = addr_from_socket(server); - r = net_dgram_send(sock, buffer, buffer_len, &server_addr); - is_int(buffer_len, r, "UDP, send on defined address"); - close(sock); // TCP
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor