github.com/portworx/docker@v1.12.1/integration-cli/docker_cli_info_unix_test.go (about)

     1  // +build !windows
     2  
     3  package main
     4  
     5  import (
     6  	"github.com/docker/docker/pkg/integration/checker"
     7  	"github.com/go-check/check"
     8  )
     9  
    10  func (s *DockerSuite) TestInfoSecurityOptions(c *check.C) {
    11  	testRequires(c, SameHostDaemon, seccompEnabled, Apparmor, DaemonIsLinux)
    12  
    13  	out, _ := dockerCmd(c, "info")
    14  	c.Assert(out, checker.Contains, "Security Options: apparmor seccomp")
    15  }