summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-05-08 16:03:23 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-05-08 16:18:30 +0900
commit1072de0a3fd821bb514d898c1b4a333a0e98c63d (patch)
tree5ff1bf5fe986577d4a17abfb88f4898370bb15cc /README.md
parent11c1ce77f9b194733bdcabe1b4dc660fa35cabbd (diff)
zebra: fix unit test failure on non linux
syscall.AF_INET/AF_INET6 are os/architecture specific. On some non Linux x86 architectures, failures like the following happen: --- FAIL: Test_NexthopRegisterBody (0.00s) Error Trace: zapi_test.go:893 Error: Not equal: 0x1e (expected) != 0xa (actual) Error Trace: zapi_test.go:894 Error: Not equal: net.IP{0x20, 0x1, 0xd, 0xb8, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1} (expected) != net.IP(nil) (actual) Diff: --- Expected +++ Actual @@ -1,2 +1,2 @@ -(net.IP) (len=16 cap=16) 2001:db8:1:1::1 +(net.IP) <nil> looks like that frr uses os/os/architecture specific values in the zapi message. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions