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(cli): guard POSIX-only fd-capture helpers under _WIN32 (#2110)
Martin Vogela3c24a71b4c2
diff --git a/tests/test_cli.c b/tests/test_cli.cindex 3316e7acd..38e2cb35f 100644--- a/tests/test_cli.c+++ b/tests/test_cli.c@@ -722,6 +722,7 @@ static void test_rmdir_r(const char *path) {th_rmtree(path);}+#ifndef _WIN32/* Capture everything a command writes to one fd (stdout or stderr) so a test* can assert on the transcript. Restores the fd on end and returns the text. */typedef struct {@@ -774,6 +775,7 @@ static char *cli_fd_capture_end(cli_fd_capture_t *capture) {}return text;}+#endif /* !_WIN32 -- POSIX-only fd-capture helpers (#2110) *//* Mandatory-daemon activation guard fixture. The production path uses the* stable per-account endpoint directly; these callbacks make every race