blobmsg: fix wrong payload len passed from blobmsg_check_array
[oweals/libubox.git] / tests / cram / test_blobmsg_procd_instance.t
1 check that blobmsg parsing/checking would produce expected results in procd:
2
3   $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
4   $ export INPUTS="$TESTDIR/inputs"
5
6   $ for blob in $(LC_ALL=C find $INPUTS -type f | sort ); do
7   >   valgrind --quiet --leak-check=full test-blobmsg-procd-instance $blob; \
8   >   test-blobmsg-procd-instance-san $blob; \
9   > done
10   procd-instance-nlbwmon.bin: OK
11   procd-instance-nlbwmon.bin: OK