mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
podman runs disabled containers and privileged containers as spc_t
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -81,7 +81,7 @@ var _ = Describe("Podman run", func() {
|
||||
session := podmanTest.Podman([]string{"run", "-it", "--security-opt", "label=disable", ALPINE, "cat", "/proc/self/attr/current"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
match, _ := session.GrepString("unconfined_t")
|
||||
match, _ := session.GrepString("spc_t")
|
||||
Expect(match).Should(BeTrue())
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user