From af800dab7d9081381078d9bef85f255a929403bb Mon Sep 17 00:00:00 2001 From: Per Andersson Date: Wed, 11 Feb 2026 13:35:03 +0100 Subject: [PATCH] Update date for ietf-yang-schema-comparison.yang --- ...10-20.yang => ietf-yang-schema-comparison@2026-02-11.yang} | 4 ++-- src/tree_schema.c | 4 ++-- .../schema_comparison/bc/12 description/description_cmp.json | 2 +- tests/utests/schema_comparison/bc/3 pattern/pattern_cmp.json | 2 +- tests/utests/schema_comparison/bc/7 must/must_cmp.json | 2 +- tests/utests/schema_comparison/bc/8 when/when_cmp.json | 2 +- tests/utests/schema_comparison/test_schema_comparison.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) rename modules/{ietf-yang-schema-comparison@2025-10-20.yang => ietf-yang-schema-comparison@2026-02-11.yang} (99%) diff --git a/modules/ietf-yang-schema-comparison@2025-10-20.yang b/modules/ietf-yang-schema-comparison@2026-02-11.yang similarity index 99% rename from modules/ietf-yang-schema-comparison@2025-10-20.yang rename to modules/ietf-yang-schema-comparison@2026-02-11.yang index 8332b6016..fd684c1d8 100644 --- a/modules/ietf-yang-schema-comparison@2025-10-20.yang +++ b/modules/ietf-yang-schema-comparison@2026-02-11.yang @@ -44,7 +44,7 @@ module ietf-yang-schema-comparison { of the schema nodes are optional and describe changes in all the statements of a single YANG module. - Copyright (c) 2025 IETF Trust and the persons identified as + Copyright (c) 2026 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with @@ -69,7 +69,7 @@ module ietf-yang-schema-comparison { // RFC Ed.: replace XXXX (inc above) with actual RFC number and // remove this note. - revision 2025-10-20 { + revision 2026-02-11 { description "Initial revision."; reference diff --git a/src/tree_schema.c b/src/tree_schema.c index f27c28e7f..251774193 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c @@ -1400,8 +1400,8 @@ lys_compare(const struct ly_ctx *ctx, const struct lys_module *src_mod, const st LOGERR(ctx, LY_ENOTFOUND, "Module \"ietf-yang-schema-comparison\" not found."); rc = LY_ENOTFOUND; goto cleanup; - } else if (!cmp_mod->revision || strcmp(cmp_mod->revision, "2025-10-20")) { - LOGERR(ctx, LY_ENOTFOUND, "Module \"ietf-yang-schema-comparison\" not in the expected revision \"2025-10-20\"."); + } else if (!cmp_mod->revision || strcmp(cmp_mod->revision, "2026-02-11")) { + LOGERR(ctx, LY_ENOTFOUND, "Module \"ietf-yang-schema-comparison\" not in the expected revision \"2026-02-11\"."); rc = LY_ENOTFOUND; goto cleanup; } diff --git a/tests/utests/schema_comparison/bc/12 description/description_cmp.json b/tests/utests/schema_comparison/bc/12 description/description_cmp.json index 504bdc684..a98aa791a 100644 --- a/tests/utests/schema_comparison/bc/12 description/description_cmp.json +++ b/tests/utests/schema_comparison/bc/12 description/description_cmp.json @@ -25,7 +25,7 @@ }, { "module": "ietf-yang-schema-comparison", - "revision": "2025-10-20", + "revision": "2026-02-11", "enabled-feature": [ "parsed-schema" ] diff --git a/tests/utests/schema_comparison/bc/3 pattern/pattern_cmp.json b/tests/utests/schema_comparison/bc/3 pattern/pattern_cmp.json index 8b69a29b6..be0a6ebd7 100644 --- a/tests/utests/schema_comparison/bc/3 pattern/pattern_cmp.json +++ b/tests/utests/schema_comparison/bc/3 pattern/pattern_cmp.json @@ -25,7 +25,7 @@ }, { "module": "ietf-yang-schema-comparison", - "revision": "2025-10-20", + "revision": "2026-02-11", "enabled-feature": [ "parsed-schema" ] diff --git a/tests/utests/schema_comparison/bc/7 must/must_cmp.json b/tests/utests/schema_comparison/bc/7 must/must_cmp.json index bd34d1cc2..f2036609c 100644 --- a/tests/utests/schema_comparison/bc/7 must/must_cmp.json +++ b/tests/utests/schema_comparison/bc/7 must/must_cmp.json @@ -25,7 +25,7 @@ }, { "module": "ietf-yang-schema-comparison", - "revision": "2025-10-20", + "revision": "2026-02-11", "enabled-feature": [ "parsed-schema" ] diff --git a/tests/utests/schema_comparison/bc/8 when/when_cmp.json b/tests/utests/schema_comparison/bc/8 when/when_cmp.json index 7371016a4..f5d068a70 100644 --- a/tests/utests/schema_comparison/bc/8 when/when_cmp.json +++ b/tests/utests/schema_comparison/bc/8 when/when_cmp.json @@ -25,7 +25,7 @@ }, { "module": "ietf-yang-schema-comparison", - "revision": "2025-10-20", + "revision": "2026-02-11", "enabled-feature": [ "parsed-schema" ] diff --git a/tests/utests/schema_comparison/test_schema_comparison.c b/tests/utests/schema_comparison/test_schema_comparison.c index 5c2ba2a22..37adb0a97 100644 --- a/tests/utests/schema_comparison/test_schema_comparison.c +++ b/tests/utests/schema_comparison/test_schema_comparison.c @@ -60,7 +60,7 @@ setup_f(void **state) } /* load ietf-schema-comparison into both contexts, the module is imported */ - if (ly_in_new_filepath(TESTS_SRC "/../modules/ietf-yang-schema-comparison@2025-10-20.yang", 0, &in)) { + if (ly_in_new_filepath(TESTS_SRC "/../modules/ietf-yang-schema-comparison@2026-02-11.yang", 0, &in)) { return 1; } if (lys_parse(st->ctx1, in, LYS_IN_YANG, feats, NULL)) {