diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-06 12:11:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 12:11:32 +0000 |
commit | 0eb2a02620e28383d3e4458854411f277d1e30f7 (patch) | |
tree | 99aa742239301d68d067070bbc5bbb2fa5f76ce5 /test | |
parent | a82ceafb73356d8e3ed825be2f0ad0a29b7c3761 (diff) | |
parent | 541e83ffe285cc67f4635d2dd1e7c89135140a13 (diff) | |
download | podman-0eb2a02620e28383d3e4458854411f277d1e30f7.tar.gz podman-0eb2a02620e28383d3e4458854411f277d1e30f7.tar.bz2 podman-0eb2a02620e28383d3e4458854411f277d1e30f7.zip |
Merge pull request #11141 from flouthoc/support-linux-execution-domain
personality: Add support for setting execution domain.
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 3c65c02d1..d68aa6ac4 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -1790,4 +1790,15 @@ WORKDIR /madethis`, BB) _, err = strconv.Atoi(containerPID) // Make sure it's a proper integer Expect(err).To(BeNil()) }) + + It("podman run check personality support", func() { + // TODO: Remove this as soon as this is merged and made available in our CI https://github.com/opencontainers/runc/pull/3126. + if !strings.Contains(podmanTest.OCIRuntime, "crun") { + Skip("Test only works on crun") + } + session := podmanTest.Podman([]string{"run", "--personality=LINUX32", "--name=testpersonality", ALPINE, "uname", "-a"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.OutputToString()).To(ContainSubstring("i686")) + }) }) |