summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-08-22 09:27:00 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-23 12:07:59 +0000
commite0c2fcadd2a27f5f8f2de119d5f31175e45a436b (patch)
treed4d6474ff07ddc95170e984ce70cf67816ae3d91 /test
parentc3ec44b5a7ad29ad44d169ca4344ced51a78d617 (diff)
downloadpodman-e0c2fcadd2a27f5f8f2de119d5f31175e45a436b.tar.gz
podman-e0c2fcadd2a27f5f8f2de119d5f31175e45a436b.tar.bz2
podman-e0c2fcadd2a27f5f8f2de119d5f31175e45a436b.zip
Swap test image in exec test to fedora for useradd
We need a useradd binary in the container for this test, so swap from Alpine to fedora-minimal. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1315 Approved by: vrothberg
Diffstat (limited to 'test')
-rw-r--r--test/e2e/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/exec_test.go b/test/e2e/exec_test.go
index da18f09a3..cfdc819a6 100644
--- a/test/e2e/exec_test.go
+++ b/test/e2e/exec_test.go
@@ -112,7 +112,7 @@ var _ = Describe("Podman exec", func() {
It("podman exec with user only in container", func() {
testUser := "test123"
- setup := podmanTest.RunTopContainer("test1")
+ setup := podmanTest.Podman([]string{"run", "--name", "test1", "-d", fedoraMinimal, "sleep", "60"})
setup.WaitWithDefaultTimeout()
Expect(setup.ExitCode()).To(Equal(0))