pmacs/tests/common
Levi Neuwirth b492426c69
test(sigint): assert the 45 inputs are DISTINCT, and stop claiming every stub carries the sentinel
Two closure gaps.

1. Both suites asserted only `cases.len() == 45`, so the exact
   45-entries-over-43-distinct-inputs regression could recur unnoticed
   --- the one where X3 collapsed into 1/E/empty and X4 into
   0/V/safe/bare, leaving two framing-specified cases silently
   unexercised. shared_cases() now asserts uniqueness over
   (status, stdout, stderr), inside the generator so no consumer can
   forget it. Verified by reverting both payloads to the sentinel: it
   fails naming X3.

2. Comments and ledger still said every stub emits the sentinel, which
   the explicit X3/X4 payloads had made false. They now say the
   BRANCH-DISCRIMINATING cases carry it while X3 and X4 deliberately
   carry their own --- X3 the canonical ignored wording with no token,
   X4 noise --- and that this is what makes them distinct inputs. The
   duplicated `self::`/`super::` explanation left over from the nesting
   fix is reduced to the correct one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016bqGA6s9tTUFzYpbeW3tai
2026-08-20 14:22:12 +02:00
..
daemon.rs test(isolation): migrate the corpus off the ambient roots 2026-07-31 18:48:45 -04:00
iso.rs test(isolation): census, hostile-environment proof, adoption ratchet 2026-07-31 18:48:26 -04:00
mod.rs test(sigint): share the conformance vectors and assert the exact branch 2026-08-20 09:15:47 +02:00
pty.rs test(isolation): migrate the corpus off the ambient roots 2026-07-31 18:48:45 -04:00
sigint_conformance.rs test(sigint): assert the 45 inputs are DISTINCT, and stop claiming every stub carries the sentinel 2026-08-20 14:22:12 +02:00