diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-22 10:08:28 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-22 16:55:37 -0400 |
commit | a277b7eb0bedd24eecede1c88e58fce2dea89991 (patch) | |
tree | 6c2441ebfc39e040488de4c46b7c3a25f978b345 /test/e2e/exec_test.go | |
parent | a8917996c43a5149eba0220cebc080148908cd4a (diff) | |
download | podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.gz podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.tar.bz2 podman-a277b7eb0bedd24eecede1c88e58fce2dea89991.zip |
Examine all SkipIfRemote functions
Remove ones that are not needed.
Document those that should be there.
Document those that should be fixed.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/exec_test.go')
-rw-r--r-- | test/e2e/exec_test.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/e2e/exec_test.go b/test/e2e/exec_test.go index 6841aa5a2..644ebe8d3 100644 --- a/test/e2e/exec_test.go +++ b/test/e2e/exec_test.go @@ -67,13 +67,14 @@ var _ = Describe("Podman exec", func() { }) It("podman exec simple command using latest", func() { - // the remote client doesn't use latest - SkipIfRemote() setup := podmanTest.RunTopContainer("test1") setup.WaitWithDefaultTimeout() Expect(setup.ExitCode()).To(Equal(0)) - - session := podmanTest.Podman([]string{"exec", "-l", "ls"}) + cid := "-l" + if IsRemote() { + cid = "test1" + } + session := podmanTest.Podman([]string{"exec", cid, "ls"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) }) @@ -284,7 +285,8 @@ var _ = Describe("Podman exec", func() { }) It("podman exec preserves container groups with --user and --group-add", func() { - SkipIfRemote() + SkipIfRemote() // FIXME: This is broken SECCOMP Failues? + dockerfile := `FROM fedora-minimal RUN groupadd -g 4000 first RUN groupadd -g 4001 second |