mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
16 lines
367 B
Go
16 lines
367 B
Go
|
// +build !windows
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/docker/pkg/integration/checker"
|
||
|
"github.com/go-check/check"
|
||
|
)
|
||
|
|
||
|
func (s *DockerSuite) TestInfoSecurityOptions(c *check.C) {
|
||
|
testRequires(c, SameHostDaemon, seccompEnabled, Apparmor, DaemonIsLinux)
|
||
|
|
||
|
out, _ := dockerCmd(c, "info")
|
||
|
c.Assert(out, checker.Contains, "Security Options: apparmor seccomp")
|
||
|
}
|