zephyr/tests
Jukka Rissanen ba026941a1 net: ipv6: Fix IPv6 prefix comparision
If the prefix length % 8 is not 0, then the remaining
bit length was calculated incorrectly and the prefixes
were claimed to match even though they might not be the
same.

Adding a test cases for testing this properly.

Coverity-CID: 157591

Change-Id: I9cb5a73d5cc211ec183176400fa5e2dfd209e2da
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-01-20 16:23:18 +02:00
..
bluetooth license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
booting/stub license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
compliance tests/compiance/checkpatch: force the format to 'email' 2016-11-10 19:30:32 +00:00
crypto license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
drivers license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fs/fat_fs license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
include license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel tests: add threads customdata api test case with unified kernel 2017-01-20 12:41:56 +00:00
legacy license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net net: ipv6: Fix IPv6 prefix comparision 2017-01-20 16:23:18 +02:00
power/power_states license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
subsys/debug/gdb_server license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
unit license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ztest license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
defaults.tc testcases: introduce defaults to build/deploy/evaluate 2016-07-23 18:31:18 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile.test tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00