Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented Oct 26, 2016

As I recommended earlier in the context of checking for all configured devices. An example would be:

{
  …
  "linux": {
    "devices": [
      {
        "path": "/dev/fuse",
        …
      }
    ],
  },
  "hooks": {
    "prestart": [
      {
        "path": "/bin/rm",
        "args": ["rm", "/dev/fuse"]
      }
    }
  }
}

where the resulting container (when created by a conformant runtime) would not have the /dev/fuse entry runtimetest's linux.devices check is looking for.

This PR also bumps the urfave/cli dependency to pick up urfave/cli#543.

wking added 2 commits October 25, 2016 22:35
This just landed via [1] (hence the bump to an untagged commit).
Generated with:

  $ godep update github.com/urfave/cli
  $ git add -A Godeps

[1]: urfave/cli#543

Signed-off-by: W. Trevor King <[email protected]>
As I recommended earlier in the context of checking for all configured
devices [1].  An example would be:

  {
    ...
    "linux": {
      "devices": [
        {
          "path": "/dev/fuse",
          ...
        }
      ],
    },
    "hooks": {
      "prestart": [
        {
          "path": "/bin/rm",
          "args": ["rm", "/dev/fuse"]
        }
      }
    }
  }

where the resulting container (when created by a conformant runtime)
would not have the /dev/fuse entry runtimetest's linux.devices check
is looking for.

[1]: opencontainers#211 (comment)

Signed-off-by: W. Trevor King <[email protected]>
@wking wking force-pushed the runtimetest-coverage-caveat branch from d4003d8 to 8cc67d1 Compare October 26, 2016 05:43
@Mashimiao
Copy link

Rejected
You should push this PR compared with master branch.

@wking
Copy link
Contributor Author

wking commented Oct 26, 2016

On Tue, Oct 25, 2016 at 10:50:04PM -0700, Ma Shimiao wrote:

You should push this PR compared with master branch.

If it lands in v1.0.0.rc1, this commit will make it to master via #181
or a successor. If/when #181 is rejected (hopefully with more clarity
around the plan for maintaining stable branches) I'll port this change
to the appropriate branch. In the interim, it's Apache 2, so others
can port it around as they see fit.

@Mashimiao
Copy link

@wking would you mind to create new PR to contribute to master branch?

@Mashimiao
Copy link

Moved to #277

@Mashimiao Mashimiao closed this Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants