mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-20 13:50:23 -04:00
16 lines
393 B
Go
16 lines
393 B
Go
|
// +build !windows
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/docker/integration-cli/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:\n apparmor\n seccomp\n Profile: default\n")
|
||
|
}
|