(t *testing.T, deps commandDeps, args ...string)
| 4123 | } |
| 4124 | |
| 4125 | func mustExecuteRoot(t *testing.T, deps commandDeps, args ...string) string { |
| 4126 | t.Helper() |
| 4127 | |
| 4128 | stdout, stderr, err := executeRootCommand(t, deps, args...) |
| 4129 | if err != nil { |
| 4130 | t.Fatalf("executeRootCommand(%v) error = %v; stderr=%s", args, err, stderr) |
| 4131 | } |
| 4132 | return stdout |
| 4133 | } |
| 4134 | |
| 4135 | func waitForCondition(t *testing.T, timeout time.Duration, fn func() bool) { |
| 4136 | t.Helper() |
no test coverage detected