From 0670f7daea0fedf30a742987024115eb5c4ed38c Mon Sep 17 00:00:00 2001 From: Martine Lenders <mlenders@inf.fu-berlin.de> Date: Sat, 18 Apr 2015 15:39:36 +0200 Subject: [PATCH] unittests: make ipv6_addr more sensible to masking errors --- tests/unittests/tests-ipv6_addr/tests-ipv6_addr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unittests/tests-ipv6_addr/tests-ipv6_addr.c b/tests/unittests/tests-ipv6_addr/tests-ipv6_addr.c index 1aabb4afc4..f00e6f24b9 100644 --- a/tests/unittests/tests-ipv6_addr/tests-ipv6_addr.c +++ b/tests/unittests/tests-ipv6_addr/tests-ipv6_addr.c @@ -404,16 +404,16 @@ static void test_ipv6_addr_match_prefix_same_pointer(void) static void test_ipv6_addr_init_prefix(void) { ng_ipv6_addr_t a = { { - 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x00, 0x01, 0x02, 0x02, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f } }; ng_ipv6_addr_t b = { { - 0x00, 0x01, 0x02, 0x02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0x00, 0x01, 0x02, 0x03, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; ng_ipv6_addr_t c = { { - 0xff, 0xfe, 0xfd, 0xfd, 0x04, 0x05, 0x06, 0x07, + 0xff, 0xfe, 0xfd, 0xfe, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f } }; -- GitLab