summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-15 21:32:39 +0200
committerGitHub <noreply@github.com>2022-09-15 21:32:39 +0200
commit750726e62c13941a739ef70040a1ec0d745cdb43 (patch)
tree773a6b2d89df5b33f4461b95426eba207e93f6a0 /test/e2e
parentdf73f606ef45e3ec3358968090681a946083cd6f (diff)
parent884fd4575c12a4cc32af06f5a239cb47609a15df (diff)
downloadpodman-750726e62c13941a739ef70040a1ec0d745cdb43.tar.gz
podman-750726e62c13941a739ef70040a1ec0d745cdb43.tar.bz2
podman-750726e62c13941a739ef70040a1ec0d745cdb43.zip
Merge pull request #15821 from vrothberg/revert-c20abf12c714f359c7bbb291c444530f70cb1185
Revert "generate systemd: drop ExecStop"
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/generate_systemd_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/e2e/generate_systemd_test.go b/test/e2e/generate_systemd_test.go
index 7ceea1b91..347440faf 100644
--- a/test/e2e/generate_systemd_test.go
+++ b/test/e2e/generate_systemd_test.go
@@ -566,6 +566,7 @@ var _ = Describe("Podman generate systemd", func() {
Expect(session.OutputToString()).To(ContainSubstring("BindsTo=pod-foo.service"))
Expect(session.OutputToString()).To(ContainSubstring("pod create --infra-conmon-pidfile %t/pod-foo.pid --pod-id-file %t/pod-foo.pod-id --exit-policy=stop --name foo"))
Expect(session.OutputToString()).To(ContainSubstring("ExecStartPre=/bin/rm -f %t/pod-foo.pid %t/pod-foo.pod-id"))
+ Expect(session.OutputToString()).To(ContainSubstring("pod stop --ignore --pod-id-file %t/pod-foo.pod-id -t 10"))
Expect(session.OutputToString()).To(ContainSubstring("pod rm --ignore -f --pod-id-file %t/pod-foo.pod-id"))
})