(t *testing.T)
| 19 | } |
| 20 | } |
| 21 | |
| 22 | func TestBashNonZeroExitNotFatal(t *testing.T) { |
| 23 | out := Bash(context.Background(), "false", 5*time.Second) |
| 24 | if !strings.Contains(out, "exit") { |
| 25 | t.Fatalf("expected exit marker, got %q", out) |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | // TestBashExactExitMarkerFormat pins the exact non-zero-exit shape: output, |