]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_submesh02.c
Add meshlink_get_submesh API
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_submesh02.c
index 018adbf8889ca08d4cabd581583532d479988c41..da475749511d9995b2896de66744019f14546b1e 100644 (file)
@@ -113,7 +113,7 @@ static bool event_cb(mesh_event_payload_t payload) {
        assert(change_state(&node_status[payload.client_id], payload.mesh_event));
 
        if(payload.mesh_event == NODE_JOINED) {
-               signal_node_start(node_status, 1, 5, node_ids);
+               signal_node_start(node_status, 1, 5, (char **)node_ids);
        }
 
        if(check_nodes_finished(node_status, 6)) {
@@ -143,8 +143,8 @@ static void test_case_submesh_02(void **state) {
 
     Expected Result:
     Channels should be formed between nodes of sub-mesh & coremesh, nodes with in sub-mesh
-    and should be able to exchange data. Lis of all nodes should only conatin four nodes
-    and the list of submesh should only conatin two nodes of that submesh.
+    and should be able to exchange data. Lis of all nodes should only contain four nodes
+    and the list of submesh should only contain two nodes of that submesh.
 */
 static bool test_steps_submesh_02(void) {
        char *invite_corenode2, *invite_app1node1, *invite_app2node1, *invite_app1node2, *invite_app2node2;
@@ -191,4 +191,4 @@ int test_cases_submesh02(void) {
        total_tests += sizeof(blackbox_group0_tests) / sizeof(blackbox_group0_tests[0]);
 
        return cmocka_run_group_tests(blackbox_group0_tests, black_box_group0_setup, black_box_group0_teardown);
-}
\ No newline at end of file
+}