Skip to content

Commit

Permalink
Merge pull request moby#13399 from hqhq/hq_fix_run_test
Browse files Browse the repository at this point in the history
Fix test failure when --net none build
  • Loading branch information
cpuguy83 committed May 22, 2015
2 parents 88275e9 + c0dd853 commit 23e8dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration-cli/docker_cli_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,7 @@ func (s *DockerSuite) TestRunDnsOptionsBasedOnHostResolvConf(c *check.C) {
// check if the container resolv.conf file has atleast 0644 perm.
func (s *DockerSuite) TestRunNonRootUserResolvName(c *check.C) {
testRequires(c, SameHostDaemon)
testRequires(c, Network)

cmd := exec.Command(dockerBinary, "run", "--name=testperm", "--user=default", "busybox", "ping", "-c", "1", "www.docker.io")
if out, err := runCommand(cmd); err != nil {
Expand Down

0 comments on commit 23e8dff

Please sign in to comment.