Skip to content

Commit

Permalink
test UPDATE sysrepo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Oct 25, 2024
1 parent b649cd6 commit 4826ce8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ set(LIBNETCONF2_DEP_SOVERSION 4.4.2)
set(LIBNETCONF2_DEP_SOVERSION_MAJOR 4)

# sysrepo required version
set(SYSREPO_DEP_VERSION 2.10.0)
set(SYSREPO_DEP_SOVERSION 7.27.0)
set(SYSREPO_DEP_VERSION 2.12.0)
set(SYSREPO_DEP_SOVERSION 7.27.20)
set(SYSREPO_DEP_SOVERSION_MAJOR 7)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99")
Expand Down
6 changes: 0 additions & 6 deletions tests/test_edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,6 @@ test_delete_edit3(void **state)
" <error-tag>operation-failed</error-tag>\n"
" <error-severity>error</error-severity>\n"
" <error-message xml:lang=\"en\">Invalid operation \"merge\" for node \"prefix-length\" with parent operation \"delete\".</error-message>\n"
"</rpc-error>\n"
"<rpc-error xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n"
" <error-type>application</error-type>\n"
" <error-tag>operation-failed</error-tag>\n"
" <error-severity>error</error-severity>\n"
" <error-message xml:lang=\"en\">User callback failed.</error-message>\n"
"</rpc-error>\n");
FREE_TEST_VARS(st);

Expand Down
6 changes: 0 additions & 6 deletions tests/test_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,12 +1057,6 @@ test_subtree_no_namespace(void **state)
" <error-tag>operation-failed</error-tag>\n"
" <error-severity>error</error-severity>\n"
" <error-message xml:lang=\"en\">Subtree filter node \"invalid-name\" without a namespace does not match any YANG nodes.</error-message>\n"
"</rpc-error>\n"
"<rpc-error xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n"
" <error-type>application</error-type>\n"
" <error-tag>operation-failed</error-tag>\n"
" <error-severity>error</error-severity>\n"
" <error-message xml:lang=\"en\">User callback failed.</error-message>\n"
"</rpc-error>\n";
assert_string_equal(st->str, expected);
FREE_TEST_VARS(st);
Expand Down

0 comments on commit 4826ce8

Please # to comment.