diff options
author | baude <bbaude@redhat.com> | 2018-01-31 18:47:51 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-01 19:04:00 +0000 |
commit | 0387f69d39b7ff15c78ff39ddb350523c73719d6 (patch) | |
tree | d19cbbeeaa105f7ee4dfaa733b0808d76a79f0cb /test/e2e/rm_test.go | |
parent | 03cfe5ebbee306ee4aa84c74bbff83712e50fb1c (diff) | |
download | podman-0387f69d39b7ff15c78ff39ddb350523c73719d6.tar.gz podman-0387f69d39b7ff15c78ff39ddb350523c73719d6.tar.bz2 podman-0387f69d39b7ff15c78ff39ddb350523c73719d6.zip |
Migrate kill tests to ginkgo
Migrate kill tests to the ginkgo suite and remove the
podman_kill bats.
Signed-off-by: baude <bbaude@redhat.com>
Closes: #281
Approved by: baude
Diffstat (limited to 'test/e2e/rm_test.go')
-rw-r--r-- | test/e2e/rm_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/e2e/rm_test.go b/test/e2e/rm_test.go index 1ef8ee5e6..a59b2ee01 100644 --- a/test/e2e/rm_test.go +++ b/test/e2e/rm_test.go @@ -29,10 +29,8 @@ var _ = Describe("Podman rm", func() { }) It("podman rm stopped container", func() { - session := podmanTest.RunLsContainer("") - session.WaitWithDefaultTimeout() - Expect(session.ExitCode()).To(Equal(0)) - cid := session.OutputToString() + _, ec, cid := podmanTest.RunLsContainer("") + Expect(ec).To(Equal(0)) result := podmanTest.Podman([]string{"rm", cid}) result.WaitWithDefaultTimeout() |