(t *testing.T)
| 39 | } |
| 40 | |
| 41 | func TestBashEmptyCommand(t *testing.T) { |
| 42 | if Bash(context.Background(), " ", time.Second) != "(empty command)" { |
| 43 | t.Fatal("empty command handling wrong") |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | // TestBashBoundsRunawayOutput: a firehose command must not grow an unbounded |
| 48 | // buffer (the old CombinedOutput OOM-killed the whole TUI on `cat big.iso` |