mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Systemd should be able to run as rootless
Turn on most of the systemd tests for rootless. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -20,7 +20,6 @@ var _ = Describe("Podman systemd", func() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
SkipIfRootless()
|
|
||||||
tempdir, err = CreateTempDirInTempDir()
|
tempdir, err = CreateTempDirInTempDir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
@ -48,6 +47,7 @@ WantedBy=multi-user.target
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("podman start container by systemd", func() {
|
It("podman start container by systemd", func() {
|
||||||
|
SkipIfRootless()
|
||||||
if os.Getenv("SKIP_USERNS") != "" {
|
if os.Getenv("SKIP_USERNS") != "" {
|
||||||
Skip("Skip userns tests.")
|
Skip("Skip userns tests.")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user