mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
#14474 skip DockerSuite.TestRunCapAddCHOWN on lxc
Signed-off-by: Zhang Kun <zkazure@gmail.com>
This commit is contained in:
parent
44e327b29e
commit
0547b5fb2a
1 changed files with 1 additions and 0 deletions
|
@ -2478,6 +2478,7 @@ func (s *DockerSuite) TestDevicePermissions(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestRunCapAddCHOWN(c *check.C) {
|
||||
testRequires(c, NativeExecDriver)
|
||||
out, _ := dockerCmd(c, "run", "--cap-drop=ALL", "--cap-add=CHOWN", "busybox", "sh", "-c", "adduser -D -H newuser && chown newuser /home && echo ok")
|
||||
|
||||
if actual := strings.Trim(out, "\r\n"); actual != "ok" {
|
||||
|
|
Loading…
Reference in a new issue