Skip to content

Commit b2cb02c

Browse files
authored
Merge pull request #8 from room215/fix/fix-broken-release-commit
fix: release build
2 parents 891159f + 56825e3 commit b2cb02c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

internal/env/docker/manager_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ func TestRemoveContainerIgnoresMissingContainer(t *testing.T) {
136136
func TestRunLifecycleCommandBoundsCapturedOutput(t *testing.T) {
137137
t.Parallel()
138138

139+
// Use shell builtins so the fixture output is stable across runners.
139140
binary := writeFakeDocker(t,
140-
`awk 'BEGIN { for (i = 0; i < 20000; i++) printf "x" }'`,
141-
`awk 'BEGIN { for (i = 0; i < 20000; i++) printf "y" > "/dev/stderr" }'`,
141+
`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`,
142143
`exit 1`,
143144
)
144145
manager := Manager{binary: binary}

0 commit comments

Comments
 (0)