7da66430de
* 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 <nischris@gmail.com>
8 lines
251 B
Raku
8 lines
251 B
Raku
check that blobmsg_check_array() is producing expected results:
|
|
|
|
$ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
|
|
|
|
$ test-blobmsg_check_array
|
|
Process array_a: entry 0
|
|
array_b contains string: 1
|
|
blobmsg_check_array() test passed
|