summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-03-16 16:39:27 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-03-16 16:39:27 +0100
commitbfa1ba5882755c899e284668a641ab834ec50747 (patch)
tree98dd213b3ef22b5571b1f95d8fd73d87be303129 /pkg
parent412a114d33a2f0aca7ee49984afcf278d2f2574a (diff)
downloadpodman-bfa1ba5882755c899e284668a641ab834ec50747.tar.gz
podman-bfa1ba5882755c899e284668a641ab834ec50747.tar.bz2
podman-bfa1ba5882755c899e284668a641ab834ec50747.zip
fix systemd generate tests
Add the `default.target` to the failing tests. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/systemd/generate/systemdgen_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/systemd/generate/systemdgen_test.go b/pkg/systemd/generate/systemdgen_test.go
index 9eb21e9ed..bbdccdcf8 100644
--- a/pkg/systemd/generate/systemdgen_test.go
+++ b/pkg/systemd/generate/systemdgen_test.go
@@ -162,7 +162,7 @@ KillMode=none
Type=forking
[Install]
-WantedBy=multi-user.target`
+WantedBy=multi-user.target default.target`
goodIdNew := `# container-639c53578af4d84b8800b4635fa4e680ee80fd67e0e6a2d4eea48d1e3230f401.service
# autogenerated by Podman CI
@@ -184,7 +184,7 @@ KillMode=none
Type=forking
[Install]
-WantedBy=multi-user.target`
+WantedBy=multi-user.target default.target`
tests := []struct {
name string