summaryrefslogtreecommitdiff
path: root/test/e2e/top_test.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-09-20 14:48:58 +0200
committerMatthew Heon <matthew.heon@pm.me>2021-09-22 16:34:43 -0400
commite06abee1d3b45abd161d18691655b79488b8d6ff (patch)
tree9baa2ecd037c5c54583aab95c0b9fb508eb61caa /test/e2e/top_test.go
parentd45cbbda3445d204588723c03609ff2641a70781 (diff)
downloadpodman-e06abee1d3b45abd161d18691655b79488b8d6ff.tar.gz
podman-e06abee1d3b45abd161d18691655b79488b8d6ff.tar.bz2
podman-e06abee1d3b45abd161d18691655b79488b8d6ff.zip
vendor c/psgo@v1.7.1
psgo added support for listing supplementary groups via two new descriptors: * `groups` for supplementary groups inside the container * `hgroups` for the counterpart on the host Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/e2e/top_test.go')
-rw-r--r--test/e2e/top_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/top_test.go b/test/e2e/top_test.go
index 3cf6244b6..93c4f3f12 100644
--- a/test/e2e/top_test.go
+++ b/test/e2e/top_test.go
@@ -73,6 +73,12 @@ var _ = Describe("Podman top", func() {
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(0))
Expect(len(result.OutputToStringArray())).To(BeNumerically(">", 1))
+
+ // Just a smoke test since groups may change over time.
+ result = podmanTest.Podman([]string{"container", "top", "test", "groups", "hgroups"})
+ result.WaitWithDefaultTimeout()
+ Expect(result).Should(Exit(0))
+ Expect(len(result.OutputToStringArray())).To(BeNumerically(">", 1))
})
It("podman top with options", func() {