MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestBashHonorsAlreadyCancelledParent

Function TestBashHonorsAlreadyCancelledParent

internal/tools/bash_test.go:109–118  ·  view source on GitHub ↗

TestBashHonorsAlreadyCancelledParent: a pre-cancelled parent (Ctrl+C raced the dispatch) must report "(cancelled)", not "(empty command)" or, worse, spawn a fresh /bin/sh. The cancel must win even on the empty-cmd fast path.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

BashFunction · 0.85

Tested by

no test coverage detected