summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-09 18:40:36 -0500
committerGitHub <noreply@github.com>2021-02-09 18:40:36 -0500
commit2d829aeb1fe0dc19c45e796141ab78ff192b5dbb (patch)
treed1250fe1db1339b3f56eccf980aa74a4ec395ef2 /test/e2e/run_test.go
parent8600c3b8e2436d73c7c13deb0da869b7f35069ea (diff)
parent46385dd609efb3ab36d326f9e32b6e04f31d8867 (diff)
downloadpodman-2d829aeb1fe0dc19c45e796141ab78ff192b5dbb.tar.gz
podman-2d829aeb1fe0dc19c45e796141ab78ff192b5dbb.tar.bz2
podman-2d829aeb1fe0dc19c45e796141ab78ff192b5dbb.zip
Merge pull request #9284 from rhatdan/annotations
Support annotations from containers.conf
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 76d362288..934b78202 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -332,6 +332,9 @@ var _ = Describe("Podman run", func() {
It("podman run user capabilities test", func() {
// We need to ignore the containers.conf on the test distribution for this test
os.Setenv("CONTAINERS_CONF", "/dev/null")
+ if IsRemote() {
+ podmanTest.RestartRemoteService()
+ }
session := podmanTest.Podman([]string{"run", "--rm", "--user", "bin", ALPINE, "grep", "CapBnd", "/proc/self/status"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -424,6 +427,9 @@ var _ = Describe("Podman run", func() {
It("podman run user capabilities test with image", func() {
// We need to ignore the containers.conf on the test distribution for this test
os.Setenv("CONTAINERS_CONF", "/dev/null")
+ if IsRemote() {
+ podmanTest.RestartRemoteService()
+ }
dockerfile := `FROM busybox
USER bin`
podmanTest.BuildImage(dockerfile, "test", "false")