tests: blobmsg: add test case
authorChris Nisbet <[email protected]>
Wed, 12 Feb 2020 08:08:44 +0000 (21:08 +1300)
committerJo-Philipp Wich <[email protected]>
Thu, 27 Feb 2020 20:56:20 +0000 (21:56 +0100)
commit7da66430de3fc235bfc6ebb0b85fb90ea246138d
tree1ca313551f82815aeb125ac1652e917cc45a45a4
parent75e300aeec25e032a9778bea34c713969960d1f0
tests: blobmsg: add test case

 * add a test for blobmsg_check_array() to test an array with a string in it

This test was added in conjunction with a change to blobmsg_check_array() to
get it to pass the length obtained from blob_len() rather than blobmsg_len().

Signed-off-by: Chris Nisbet <[email protected]>
tests/cram/test_blobmsg_check_array.t [new file with mode: 0644]
tests/test-blobmsg_check_array.c [new file with mode: 0644]