correct the absolute path of rm executable

Signed-off-by: Yuan-Hao Chen <yhchen0906@gmail.com>
This commit is contained in:
Yuan-Hao Chen
2020-06-19 00:59:50 +08:00
parent 5ec29f8d4e
commit f18d2751f6
6 changed files with 10 additions and 10 deletions

View File

@ -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")