diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-09-20 14:48:58 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-09-22 16:34:43 -0400 |
commit | e06abee1d3b45abd161d18691655b79488b8d6ff (patch) | |
tree | 9baa2ecd037c5c54583aab95c0b9fb508eb61caa /test | |
parent | d45cbbda3445d204588723c03609ff2641a70781 (diff) | |
download | podman-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')
-rw-r--r-- | test/e2e/top_test.go | 6 |
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() { |