Wiki
  • Requirements
  • Flows
  • Tests
  • Change impact
  • Map
  • Architecture
  • Docs
  • API
  • SBOM

Bridge refuses to bind when socket path is a symlink¶

Tests › tests/unit/mcp/external_bridge_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/mcp/external_bridge_test.cpp:840 · its file's page

What it checks (4)

  1. REQUIRE(::symlink(target.c_str(), sock_path.c_str()) == 0) not attributed
  2. CHECK_FALSE(ok) observes start via ok
  3. CHECK(::lstat(sock_path.c_str(), &st) == 0) not attributed
  4. CHECK(S_ISLNK(st.st_mode)) not attributed

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

Bridge refuses to bind when socket path is a symlink→REQUIRE→WHEN→start

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Bridge refuses to bind when socket path is a symlink · 4 checksWHENfailure_detailREQ-API-012 · inferredstartREQ-BRIDGE-001 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.

  • REQ-API-012 inferred
  • REQ-BRIDGE-001 inferred
Wiki Generated by clew wiki from the repository's index