tests: blobmsg: add test case
[project/libubox.git] / tests / cram / test_blobmsg_check_array.t
diff --git a/tests/cram/test_blobmsg_check_array.t b/tests/cram/test_blobmsg_check_array.t
new file mode 100644 (file)
index 0000000..f01bdbf
--- /dev/null
@@ -0,0 +1,8 @@
+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