We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 891159f + 56825e3 commit b2cb02cCopy full SHA for b2cb02c
1 file changed
internal/env/docker/manager_test.go
@@ -136,9 +136,10 @@ func TestRemoveContainerIgnoresMissingContainer(t *testing.T) {
136
func TestRunLifecycleCommandBoundsCapturedOutput(t *testing.T) {
137
t.Parallel()
138
139
+ // Use shell builtins so the fixture output is stable across runners.
140
binary := writeFakeDocker(t,
- `awk 'BEGIN { for (i = 0; i < 20000; i++) printf "x" }'`,
141
- `awk 'BEGIN { for (i = 0; i < 20000; i++) printf "y" > "/dev/stderr" }'`,
+ `i=0; while [ "$i" -lt 20000 ]; do printf "x"; i=$((i + 1)); done`,
142
+ `i=0; while [ "$i" -lt 20000 ]; do printf "y" >&2; i=$((i + 1)); done`,
143
`exit 1`,
144
)
145
manager := Manager{binary: binary}
0 commit comments