summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-03-05 14:05:48 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-03-05 14:05:48 +0100
commita5c04c793e5e3d4d7c52a2281205fcace4f2534a (patch)
tree6c2601a0902358e9c9585bae68de1b1a1b3054b7 /test
parent9ffc525da70ba497f38df04dd6d3670170200071 (diff)
downloadpodman-a5c04c793e5e3d4d7c52a2281205fcace4f2534a.tar.gz
podman-a5c04c793e5e3d4d7c52a2281205fcace4f2534a.tar.bz2
podman-a5c04c793e5e3d4d7c52a2281205fcace4f2534a.zip
generate systemd: remove leading slashes
Remove leading slashes from the run-dir paths. It was meant to make it explicit that we're dealing with an absolute path but user feedback has shown that most are aware. It also cleans up the path in the systemctl status output. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/generate_systemd_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/generate_systemd_test.go b/test/e2e/generate_systemd_test.go
index d0dadd09d..31131a68b 100644
--- a/test/e2e/generate_systemd_test.go
+++ b/test/e2e/generate_systemd_test.go
@@ -191,7 +191,7 @@ var _ = Describe("Podman generate systemd", func() {
found, _ := session.GrepString("# container-foo.service")
Expect(found).To(BeTrue())
- found, _ = session.GrepString("stop --ignore --cidfile /%t/%n-cid -t 42")
+ found, _ = session.GrepString("stop --ignore --cidfile %t/%n-cid -t 42")
Expect(found).To(BeTrue())
})