@@ -73,7 +73,7 @@ test_schema(void **state)
7373 " }\n"
7474 "}\n" ;
7575 assert_int_equal (LY_EINVAL , lys_parse_mem (UTEST_LYCTX , schema , LYS_IN_YANG , NULL ));
76- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
76+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
7777 "Extension \"yangmnt:mount-point\" instance not allowed in YANG version 1 module." ,
7878 "/sm:root/{extension='yangmnt:mount-point'}/root" , 0 );
7979
@@ -90,7 +90,7 @@ test_schema(void **state)
9090 " yangmnt:mount-point \"root\";\n"
9191 "}\n" ;
9292 assert_int_equal (LY_EINVAL , lys_parse_mem (UTEST_LYCTX , schema , LYS_IN_YANG , NULL ));
93- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
93+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
9494 "Extension \"yangmnt:mount-point\" instance allowed only in container or list statement." ,
9595 "/sm:{extension='yangmnt:mount-point'}/root" , 0 );
9696
@@ -112,7 +112,7 @@ test_schema(void **state)
112112 " }\n"
113113 "}\n" ;
114114 assert_int_equal (LY_EINVAL , lys_parse_mem (UTEST_LYCTX , schema , LYS_IN_YANG , NULL ));
115- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
115+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
116116 "Extension \"yangmnt:mount-point\" instance allowed only in container or list statement." ,
117117 "/sm:root/l/{extension='yangmnt:mount-point'}/root" , 0 );
118118
@@ -136,7 +136,7 @@ test_schema(void **state)
136136 " }\n"
137137 "}\n" ;
138138 assert_int_equal (LY_EINVAL , lys_parse_mem (UTEST_LYCTX , schema , LYS_IN_YANG , NULL ));
139- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
139+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
140140 "Multiple extension \"yangmnt:mount-point\" instances." ,
141141 "/sm:l/{extension='yangmnt:mount-point'}/root" , 0 );
142142
@@ -196,7 +196,7 @@ test_parse_invalid(void **state)
196196 " </unknown>"
197197 "</root>" ;
198198 CHECK_PARSE_LYD_PARAM (xml , LYD_XML , 0 , LYD_VALIDATE_PRESENT , LY_EINVAL , data );
199- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Failed to get extension data, no callback set." ,
199+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Failed to get extension data, no callback set." ,
200200 NULL , 0 );
201201
202202 json =
@@ -213,7 +213,7 @@ test_parse_invalid(void **state)
213213 " }"
214214 "}" ;
215215 CHECK_PARSE_LYD_PARAM (json , LYD_JSON , 0 , LYD_VALIDATE_PRESENT , LY_EINVAL , data );
216- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Failed to get extension data, no callback set." ,
216+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Failed to get extension data, no callback set." ,
217217 NULL , 0 );
218218
219219 /* unknown data */
@@ -401,22 +401,22 @@ test_parse_invalid(void **state)
401401 " </mount-point>"
402402 "</schema-mounts>" );
403403 CHECK_PARSE_LYD_PARAM (xml , LYD_XML , LYD_PARSE_STRICT , LYD_VALIDATE_PRESENT , LY_EVALID , data );
404- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Mandatory node \"type\" instance does not exist." ,
404+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Mandatory node \"type\" instance does not exist." ,
405405 "/ietf-interfaces:interfaces/interface[name='bu']" , 0 );
406406 CHECK_PARSE_LYD_PARAM (json , LYD_JSON , LYD_PARSE_STRICT , LYD_VALIDATE_PRESENT , LY_EVALID , data );
407- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Mandatory node \"type\" instance does not exist." ,
407+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Mandatory node \"type\" instance does not exist." ,
408408 "/ietf-interfaces:interfaces/interface[name='bu']" , 0 );
409409
410410 /* same validation fail in separate validation */
411411 CHECK_PARSE_LYD_PARAM (xml , LYD_XML , LYD_PARSE_STRICT | LYD_PARSE_ONLY , 0 , LY_SUCCESS , data );
412412 assert_int_equal (LY_EVALID , lyd_validate_all (& data , NULL , LYD_VALIDATE_PRESENT , NULL ));
413- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Mandatory node \"type\" instance does not exist." ,
413+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Mandatory node \"type\" instance does not exist." ,
414414 "/ietf-interfaces:interfaces/interface[name='bu']" , 0 );
415415 lyd_free_siblings (data );
416416
417417 CHECK_PARSE_LYD_PARAM (json , LYD_JSON , LYD_PARSE_STRICT | LYD_PARSE_ONLY , 0 , LY_SUCCESS , data );
418418 assert_int_equal (LY_EVALID , lyd_validate_all (& data , NULL , LYD_VALIDATE_PRESENT , NULL ));
419- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": Mandatory node \"type\" instance does not exist." ,
419+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": Mandatory node \"type\" instance does not exist." ,
420420 "/ietf-interfaces:interfaces/interface[name='bu']" , 0 );
421421 lyd_free_siblings (data );
422422
@@ -865,7 +865,7 @@ test_parse_shared(void **state)
865865 " </interfaces-state>\n"
866866 "</root2>\n" ;
867867 CHECK_PARSE_LYD_PARAM (xml , LYD_XML , LYD_PARSE_STRICT , LYD_VALIDATE_PRESENT , LY_EVALID , data );
868- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
868+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
869869 "Shared-schema yang-library content-id \"2\" differs from \"1\" used previously." ,
870870 "/ietf-yang-library:yang-library/content-id" , 0 );
871871
@@ -1121,7 +1121,7 @@ test_parse_shared_parent_ref(void **state)
11211121 "</root3>\n"
11221122 "<target xmlns=\"urn:sm\">wrong-target-value</target>\n" ;
11231123 CHECK_PARSE_LYD_PARAM (xml , LYD_XML , LYD_PARSE_STRICT , LYD_VALIDATE_PRESENT , LY_EVALID , data );
1124- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
1124+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
11251125 "Invalid leafref value \"target-value\" - no target instance \"/sm:target\" with the same value." ,
11261126 "/ietf-interfaces:interfaces/interface[name='bu']/sm:sm-name" , 0 );
11271127
@@ -1146,7 +1146,7 @@ test_parse_shared_parent_ref(void **state)
11461146 " \"sm:target\": \"wrong-target-value\"\n"
11471147 "}\n" ;
11481148 CHECK_PARSE_LYD_PARAM (json , LYD_JSON , LYD_PARSE_STRICT , LYD_VALIDATE_PRESENT , LY_EVALID , data );
1149- CHECK_LOG_CTX ("Ext plugin \"ly2 schema mount\": "
1149+ CHECK_LOG_CTX ("Ext plugin \"ly2 - schema mount\": "
11501150 "Invalid leafref value \"target-value\" - no target instance \"/sm:target\" with the same value." ,
11511151 "/ietf-interfaces:interfaces/interface[name='bu']/sm:sm-name" , 0 );
11521152
0 commit comments