mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Update trustedCmd to be compatible with testutil/cmd
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@@ -103,7 +103,7 @@ func (s *DockerSuite) TestBuildAddChangeOwnership(c *check.C) {
|
||||
|
||||
icmd.RunCmd(icmd.Cmd{
|
||||
Command: []string{"chown", "daemon:daemon", "foo"},
|
||||
Dir: tmpDir,
|
||||
Dir: tmpDir,
|
||||
}).Assert(c, icmd.Success)
|
||||
|
||||
if err := ioutil.WriteFile(filepath.Join(tmpDir, "Dockerfile"), []byte(dockerfile), 0644); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user