test UPDATE flags fix
@@ -5716,17 +5716,6 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
- assert_int_equal(op, SR_OP_CREATED);
- assert_null(old_val);
- assert_non_null(new_val);
- assert_string_equal(new_val->xpath, "/ietf-interfaces:interfaces");
-
- sr_free_val(new_val);
-
- /* 2nd change */
- ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
- assert_int_equal(ret, SR_ERR_OK);
-
assert_int_equal(op, SR_OP_CREATED);
assert_null(old_val);
assert_non_null(new_val);
@@ -5734,7 +5723,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 3rd change */
+ /* 2nd change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
@@ -5745,7 +5734,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 4th change */
+ /* 3rd change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
@@ -5756,7 +5745,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 5th change */
+ /* 4th change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
@@ -5767,7 +5756,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 6th change */
+ /* 5th change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
@@ -5778,7 +5767,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 7th change */
+ /* 6th change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
@@ -5789,7 +5778,7 @@ cache_diff_change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod
sr_free_val(new_val);
- /* 8th change */
+ /* 7th change */
ret = sr_get_change_next(session, iter, &op, &old_val, &new_val);
assert_int_equal(ret, SR_ERR_OK);
