Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
test(mcp): compare the #2134 root with forward slashes on Windows
Martin Vogel364dd6a99b43
diff --git a/tests/test_mcp.c b/tests/test_mcp.cindex 4e23a8625..c5705ddcf 100644--- a/tests/test_mcp.c+++ b/tests/test_mcp.c@@ -8626,6 +8626,8 @@ TEST(tool_index_repository_reuses_existing_project_for_root_issue2134) {if (!cbm_canonical_path(repo, canonical_repo, sizeof(canonical_repo))) {FAIL("cbm_canonical_path failed");}+ /* Stored root_path values use forward slashes on every platform. */+ cbm_normalize_path_sep(canonical_repo);const char *saved_cache = getenv("CBM_CACHE_DIR");char *saved_cache_copy = saved_cache ? cbm_strdup(saved_cache) : NULL;const char *saved_sup = getenv("CBM_INDEX_SUPERVISOR");