summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-22 17:25:53 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-23 07:06:32 -0400
commit3532bc688e7b77e179988448e6d2ac4070de2458 (patch)
tree17f28b67df24e9f32b4f0271e4cb41f0037e0329 /test
parent5cedd830f7275e8dc3382502908b846bfa57a3b8 (diff)
downloadpodman-3532bc688e7b77e179988448e6d2ac4070de2458.tar.gz
podman-3532bc688e7b77e179988448e6d2ac4070de2458.tar.bz2
podman-3532bc688e7b77e179988448e6d2ac4070de2458.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/systemd_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/systemd_test.go b/test/e2e/systemd_test.go
index 9a3247b77..5580f61f4 100644
--- a/test/e2e/systemd_test.go
+++ b/test/e2e/systemd_test.go
@@ -20,7 +20,6 @@ var _ = Describe("Podman systemd", func() {
)
BeforeEach(func() {
- SkipIfRootless()
tempdir, err = CreateTempDirInTempDir()
if err != nil {
os.Exit(1)
@@ -48,6 +47,7 @@ WantedBy=multi-user.target
})
It("podman start container by systemd", func() {
+ SkipIfRootless()
if os.Getenv("SKIP_USERNS") != "" {
Skip("Skip userns tests.")
}