File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,10 @@ BOOST_AUTO_TEST_CASE(test_addnode_getaddednodeinfo_and_connection_detection)
116
116
117
117
BOOST_TEST_MESSAGE (" \n Call AddNode() with 2 addrs resolving to existing localhost addnode entry; neither should be added" );
118
118
BOOST_CHECK (!connman->AddNode ({/* m_added_node=*/ " 127.0.0.1" , /* m_use_v2transport=*/ true }));
119
+ // OpenBSD doesn't support the IPv4 shorthand notation with omitted zero-bytes.
120
+ #if !defined(__OpenBSD__)
119
121
BOOST_CHECK (!connman->AddNode ({/* m_added_node=*/ " 127.1" , /* m_use_v2transport=*/ true }));
122
+ #endif
120
123
121
124
BOOST_TEST_MESSAGE (" \n Expect GetAddedNodeInfo to return expected number of peers with `include_connected` true/false" );
122
125
BOOST_CHECK_EQUAL (connman->GetAddedNodeInfo (/* include_connected=*/ true ).size (), nodes.size ());
You can’t perform that action at this time.
0 commit comments