summaryrefslogtreecommitdiff
path: root/test/e2e/generate_systemd_test.go
diff options
context:
space:
mode:
authorYuan-Hao Chen <yhchen0906@gmail.com>2020-06-19 00:59:50 +0800
committerYuan-Hao Chen <yhchen0906@gmail.com>2020-06-19 22:23:35 +0800
commitf18d2751f69f90f65bd22d9d97bb9e288b683e10 (patch)
tree251767e16e9483156651544c9ff2a6d7d941ca28 /test/e2e/generate_systemd_test.go
parent5ec29f8d4e79500915ec79824d9eb21630205f3f (diff)
downloadpodman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.gz
podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.tar.bz2
podman-f18d2751f69f90f65bd22d9d97bb9e288b683e10.zip
correct the absolute path of `rm` executable
Signed-off-by: Yuan-Hao Chen <yhchen0906@gmail.com>
Diffstat (limited to 'test/e2e/generate_systemd_test.go')
-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 497e8f71e..f43a4f865 100644
--- a/test/e2e/generate_systemd_test.go
+++ b/test/e2e/generate_systemd_test.go
@@ -362,7 +362,7 @@ var _ = Describe("Podman generate systemd", func() {
found, _ = session.GrepString("pod create --infra-conmon-pidfile %t/pod-foo.pid --pod-id-file %t/pod-foo.pod-id --name foo")
Expect(found).To(BeTrue())
- found, _ = session.GrepString("ExecStartPre=/usr/bin/rm -f %t/pod-foo.pid %t/pod-foo.pod-id")
+ found, _ = session.GrepString("ExecStartPre=/bin/rm -f %t/pod-foo.pid %t/pod-foo.pod-id")
Expect(found).To(BeTrue())
found, _ = session.GrepString("pod stop --ignore --pod-id-file %t/pod-foo.pod-id -t 10")