From b2414b580e236e011d60028e645ab41096035ee3 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 27 Apr 2020 14:23:23 +0200 Subject: generate systemd Implement `podman generate systemd` for Podman v2 and enable associated tests. Signed-off-by: Valentin Rothberg --- test/e2e/generate_systemd_test.go | 1 - test/system/250-generate-systemd.bats | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/e2e/generate_systemd_test.go b/test/e2e/generate_systemd_test.go index 2901e7ac6..abfca4db9 100644 --- a/test/e2e/generate_systemd_test.go +++ b/test/e2e/generate_systemd_test.go @@ -18,7 +18,6 @@ var _ = Describe("Podman generate systemd", func() { ) BeforeEach(func() { - Skip(v2fail) tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) diff --git a/test/system/250-generate-systemd.bats b/test/system/250-generate-systemd.bats index 80199af5f..6155d6ace 100644 --- a/test/system/250-generate-systemd.bats +++ b/test/system/250-generate-systemd.bats @@ -10,6 +10,8 @@ SERVICE_NAME="podman_test_$(random_string)" UNIT_DIR="$HOME/.config/systemd/user" UNIT_FILE="$UNIT_DIR/$SERVICE_NAME.service" +# FIXME: the must run as root (because of CI). It's also broken... + function setup() { skip_if_not_systemd skip_if_remote -- cgit v1.2.3-54-g00ecf