diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-18 14:36:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-18 14:36:49 -0700 |
commit | 8afe02fe96cc6e729ba2e279034650cd99068fae (patch) | |
tree | 1b115a08fa8fb85e0a9054fd7ed3c4a5465ac92b /test | |
parent | 7ed8366834429ce5141fc8b8c98eef58c18a4c31 (diff) | |
parent | 022bb95c8ed5dae455e569fc109f7f67b4270efc (diff) | |
download | podman-8afe02fe96cc6e729ba2e279034650cd99068fae.tar.gz podman-8afe02fe96cc6e729ba2e279034650cd99068fae.tar.bz2 podman-8afe02fe96cc6e729ba2e279034650cd99068fae.zip |
Merge pull request #2698 from debarshiray/wip/rishi/podman-inspect-conmon-pid-file
Export ConmonPidFile in 'podman inspect' for containers
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/inspect_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/e2e/inspect_test.go b/test/e2e/inspect_test.go index ebe610e6a..34328828f 100644 --- a/test/e2e/inspect_test.go +++ b/test/e2e/inspect_test.go @@ -66,6 +66,16 @@ var _ = Describe("Podman inspect", func() { Expect(session.ExitCode()).To(Equal(0)) }) + It("podman inspect container with GO format for ConmonPidFile", func() { + SkipIfRemote() + session, ec, _ := podmanTest.RunLsContainer("test1") + Expect(ec).To(Equal(0)) + + session = podmanTest.Podman([]string{"inspect", "--format", "{{.ConmonPidFile}}", "test1"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + }) + It("podman inspect container with size", func() { SkipIfRemote() _, ec, _ := podmanTest.RunLsContainer("") |