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:
Daehyeok Mun
2014-11-25 00:32:38 +09:00
parent 8bf9a8d42c
commit 09af87d0eb
8 changed files with 78 additions and 83 deletions

View File

@ -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")
}