@@ -170,9 +170,26 @@ static MunitResult test_usend_urecv_probe(const MunitParameter params[], void* d
170170 return MUNIT_OK ;
171171}
172172
173+ static MunitResult test_only_probe (const MunitParameter params [], void * data )
174+ {
175+ (void )params ;
176+ test_context * context = (test_context * )data ;
177+ na_return_t ret ;
178+ mona_instance_t mona = context -> mona ;
179+
180+ int flag = 0 ;
181+ ret = mona_uiprobe (mona , MONA_ANY_ADDR , MONA_ANY_TAG , & flag ,
182+ NULL , NULL , NULL );
183+ munit_assert_int (ret , = = , NA_SUCCESS );
184+ munit_assert_int (flag , = = , 0 );
185+
186+ return MUNIT_OK ;
187+ }
188+
173189static MunitTest test_suite_tests [] = {
174190 { (char * ) "/hl" , test_usend_urecv , test_context_setup , test_context_tear_down , MUNIT_TEST_OPTION_NONE , NULL },
175- { (char * ) "/probe" , test_usend_urecv_probe , test_context_setup , test_context_tear_down , MUNIT_TEST_OPTION_NONE , NULL },
191+ { (char * ) "/send_recv_probe" , test_usend_urecv_probe , test_context_setup , test_context_tear_down , MUNIT_TEST_OPTION_NONE , NULL },
192+ { (char * ) "/only_probe" , test_only_probe , test_context_setup , test_context_tear_down , MUNIT_TEST_OPTION_NONE , NULL },
176193 { NULL , NULL , NULL , NULL , MUNIT_TEST_OPTION_NONE , NULL }
177194};
178195
0 commit comments