Assert test not compatible with s390(x) and ppc64 architectures
23 Jun
2015
23 Jun
'15
6:56 p.m.
Hi,
we have found that assert test fails on some architectures:
test-net.c:59: Assert failed: net_addr2ip("127.0.0.1", &ip) == 0 && ip.family == AF_INET && ip.u.ip4.s_addr == (127 | (1 << 24))
It seems as bug in test suit as test is expecting IPv4 address in LE format (0x0100007f), but it gets address in BE format(0x7f000001). Patch in attachment should fix this issue.
Regards Michal Hlavinka
3484
Age (days ago)
3484
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michal Hlavinka