mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update trustedCmd to be compatible with testutil/cmd
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
87e3fcfe1e
commit
303b1d200a
23 changed files with 349 additions and 610 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue