mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Merge pull request #17251 from quite/status-up-not-ago
fix: don't output "ago" when container is currently up and running
This commit is contained in:
@@ -280,8 +280,8 @@ var _ = Describe("Podman ps", func() {
|
||||
// must contain "Status"
|
||||
match, StatusLine := result.GrepString(`Status`)
|
||||
Expect(match).To(BeTrue())
|
||||
// container is running or exit, so it must contain `ago`
|
||||
Expect(StatusLine[0]).To(ContainSubstring("ago"))
|
||||
// we waited for container to exit, so this must contain `Exited`
|
||||
Expect(StatusLine[0]).To(ContainSubstring("Exited"))
|
||||
})
|
||||
|
||||
It("podman ps namespace flag with go template format", func() {
|
||||
|
||||
Reference in New Issue
Block a user