2016-06-14 14:43:25 +00:00
|
|
|
// +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")
|
2016-09-02 13:20:54 +00:00
|
|
|
c.Assert(out, checker.Contains, "Security Options:\n apparmor\n seccomp\n Profile: default\n")
|
2016-06-14 14:43:25 +00:00
|
|
|
}
|