Skip to content

Commit f462375

Browse files
committed
tests UPDATE libyang changes
1 parent 13608bd commit f462375

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ endif()
4444
set(NP2SRV_VERSION 2.3.3)
4545

4646
# libyang required version
47-
set(LIBYANG_DEP_VERSION 2.2.0)
48-
set(LIBYANG_DEP_SOVERSION 3.0.0)
47+
set(LIBYANG_DEP_VERSION 3.9.0)
48+
set(LIBYANG_DEP_SOVERSION 3.8.0)
4949
set(LIBYANG_DEP_SOVERSION_MAJOR 3)
5050

5151
# libnetconf2 required version

tests/test_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ test_min_elem(void **state)
150150
" <error-tag>operation-failed</error-tag>\n"
151151
" <error-severity>error</error-severity>\n"
152152
" <error-app-tag>too-few-elements</error-app-tag>\n"
153-
" <error-path>/errors:cont2/l3</error-path>\n"
153+
" <error-path>/errors:cont2/l3[.='value']</error-path>\n"
154154
" <error-message xml:lang=\"en\">Too few elements.</error-message>\n"
155155
"</rpc-error>\n");
156156
FREE_TEST_VARS(st);

0 commit comments

Comments
 (0)