mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +08:00
Enable rootless integration tests
Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -112,6 +112,7 @@ var _ = Describe("Podman run", func() {
|
||||
})
|
||||
|
||||
It("podman test selinux label /run/secrets", func() {
|
||||
SkipIfRootless()
|
||||
session := podmanTest.Podman([]string{"run", fedoraMinimal, "ls", "-dZ", "/run/secrets"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
@ -144,6 +145,7 @@ var _ = Describe("Podman run", func() {
|
||||
})
|
||||
|
||||
It("podman test selinux --privileged label /run/secrets", func() {
|
||||
SkipIfRootless()
|
||||
session := podmanTest.Podman([]string{"run", "--privileged", fedoraMinimal, "ls", "-dZ", "/run/secrets"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
Reference in New Issue
Block a user