2016-06-14 10:43:25 -04:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2016-12-30 12:23:00 -05:00
|
|
|
"github.com/docker/docker/integration-cli/checker"
|
2016-06-14 10:43:25 -04:00
|
|
|
"github.com/go-check/check"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (s *DockerSuite) TestInfoSecurityOptions(c *check.C) {
|
2018-12-24 07:25:53 -05:00
|
|
|
testRequires(c, testEnv.IsLocalDaemon, seccompEnabled, Apparmor, DaemonIsLinux)
|
2016-06-14 10:43:25 -04:00
|
|
|
|
|
|
|
out, _ := dockerCmd(c, "info")
|
2016-09-02 09:20:54 -04:00
|
|
|
c.Assert(out, checker.Contains, "Security Options:\n apparmor\n seccomp\n Profile: default\n")
|
2016-06-14 10:43:25 -04:00
|
|
|
}
|