mirror of https://github.com/docker/cli.git
Fix merge conflict
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
fbb9de2cfc
commit
ae03b006a6
|
@ -4,6 +4,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/docker/cli/e2e/internal/fixtures"
|
||||
"github.com/gotestyourself/gotestyourself/icmd"
|
||||
)
|
||||
|
||||
|
@ -19,7 +20,7 @@ func TestAttachExitCode(t *testing.T) {
|
|||
|
||||
func runBackgroundContainsWithExitCode(t *testing.T, exitcode int) string {
|
||||
result := icmd.RunCmd(shell(t,
|
||||
"docker run -d -i --rm %s sh -c 'read; exit %d'", alpineImage, exitcode))
|
||||
"docker run -d -i --rm %s sh -c 'read; exit %d'", fixtures.AlpineImage, exitcode))
|
||||
result.Assert(t, icmd.Success)
|
||||
return strings.TrimSpace(result.Stdout())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue