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
committerValentin Rothberg <rothberg@redhat.com>2021-09-22 10:35:08 +0200
commit5875e409e2b6244daed10c1dff929ae3b69724fa (patch)
tree4e7401d1f168aad3cfaf898a54437024e319c638 /test/e2e/top_test.go
parentb906ecbb5bc887f5123a0f61a5a51782aa34357f (diff)
downloadpodman-5875e409e2b6244daed10c1dff929ae3b69724fa.tar.gz
podman-5875e409e2b6244daed10c1dff929ae3b69724fa.tar.bz2
podman-5875e409e2b6244daed10c1dff929ae3b69724fa.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() {