remove deprecated cmd function in integration-cli
Remove deprecated cmd function in integration-cli and change cmd to dockerCmd in all test files Signed-off-by: Daehyeok Mun <daehyeok@gmail.com> Upstream-commit: 7fbbd515b1018721e91199960d1933383a8262a1 Component: engine
This commit is contained in:
@ -2429,7 +2429,7 @@ func TestBuildNoContext(t *testing.T) {
|
||||
t.Fatalf("build failed to complete: %v %v", out, err)
|
||||
}
|
||||
|
||||
if out, _, err := cmd(t, "run", "--rm", "nocontext"); out != "ok\n" || err != nil {
|
||||
if out, _, err := dockerCmd(t, "run", "--rm", "nocontext"); out != "ok\n" || err != nil {
|
||||
t.Fatalf("run produced invalid output: %q, expected %q", out, "ok")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user