diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-10-31 08:37:48 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-10-31 08:38:56 -0400 |
commit | 0eea8fbc468e4fbad3a7b46cf030518a3e7d3cca (patch) | |
tree | 93c38193539dcfceca3eb6ac18ec6c16d5d42588 | |
parent | 381fa4df875af3d2acee34d4fc1a608b2218b551 (diff) | |
download | podman-0eea8fbc468e4fbad3a7b46cf030518a3e7d3cca.tar.gz podman-0eea8fbc468e4fbad3a7b46cf030518a3e7d3cca.tar.bz2 podman-0eea8fbc468e4fbad3a7b46cf030518a3e7d3cca.zip |
Fix selinux test for exec
We want to make sure that the process label of pid 1 is the same as the process label of a process execed into the container.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rw-r--r-- | test/e2e/run_selinux_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_selinux_test.go b/test/e2e/run_selinux_test.go index ebc36b7f1..358137aa9 100644 --- a/test/e2e/run_selinux_test.go +++ b/test/e2e/run_selinux_test.go @@ -170,7 +170,7 @@ var _ = Describe("Podman run", func() { setup.WaitWithDefaultTimeout() Expect(setup.ExitCode()).To(Equal(0)) - session := podmanTest.Podman([]string{"exec", "test1", "cat", "/proc/self/attr/current"}) + session := podmanTest.Podman([]string{"exec", "test1", "cat", "/proc/1/attr/current"}) session.WaitWithDefaultTimeout() session1 := podmanTest.Podman([]string{"exec", "test1", "cat", "/proc/self/attr/current"}) session1.WaitWithDefaultTimeout() |