test: dm: eth: Add string_to_ip6 test
authorViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Fri, 2 Dec 2022 09:18:09 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 17:47:17 +0000 (12:47 -0500)
commit184ded4becced88170ed7c3296c97e6b1a174896
tree82bcf9a14fc177060f4cb81981ffc3a0bbc66c1e
parenteeb0a2c6938226ee3c46fa66971da9231d64667d
test: dm: eth: Add string_to_ip6 test

Add a test to check convertation from char* to struct in6_addr.
Use in sandbox

Series-changes: 3
- Fixed tests to use length param in string_to_ip6()

Series-changes: 5
- Add test under #ifdef

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/eth.c