libelektra: OpenBSD + alpine3.7: testmod_network fails

 20/104 Test  #20: testmod_network ....................***Failed    0.01 sec
   ICONV   TESTS
====================

/root/Projekte/libelektra/src/plugins/network/testmod_network.c:27: error in test_addr: could not check ipv4 addr
/root/Projekte/libelektra/src/plugins/network/testmod_network.c:34: error in test_addr: could not check ipv4 addr
/root/Projekte/libelektra/src/plugins/network/testmod_network.c:41: error in test_addr: could not check ipv4 addr
/root/Projekte/libelektra/src/plugins/network/testmod_network.c:48: error in test_addr: could not check ipv4 addr

test_backendhelpers RESULTS: 8 test(s) done. 4 error(s).

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Is the problem fixed for Alpine Linux as well?

It was too early in the morning for me without coffe to realize what you wrote above

Can you please close the issue if the bug is now also fixed in OpenBSD?

Done 😄

Can you repost them please?

75/158 Test  #75: testmod_network ..........................***Failed    0.02 sec
NETWORK   TESTS
===============

/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv4 address <E2><80><9C>192.168.0.1<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv4 address <E2><80><9C>192.168.1.1<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv4 address <E2><80><9C>0.0.0.0<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>2001:0db8:85a3:0000:0000:8a2e:0370:7334<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>2001:0db8:85a3:0:0:8a2e:0370:7334<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>2001:0db8:85a3::8a2e:0370:7334
<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>::1<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>2001::7334<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>::ffff:192.0.2.128<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of ipv6 address <E2><80><9C>::<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of IP address <E2><80><9C>::1<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of IP address <E2><80><9C>192.168.0.1<E2><80><9D> returned -1 instead of 1
/root/libelektra/src/plugins/network/../ipaddr/test_ipaddr.h:24: error in testIP: validation of IP address <E2><80><9C>42.42.42.42<E2><80><9D> returned -1 instead of 1

Does https://cmake.org/cmake/help/v3.0/variable/CMAKE_SYSTEM_NAME.html contain OpenBSD?

openbsd63# uname -s
OpenBSD

Yes, it contains “OpenBSD”. I verfied it with a short CMakeLists.txt file.