aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/run_ns_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-21 09:53:29 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-22 13:19:08 +0000
commit2c81a756e310d59702b52ffc30d84aa9e11a8dbd (patch)
treedccca49fc4638f9739a0baf2682808b15aa51bb4 /test/e2e/run_ns_test.go
parent4ad7e7368140f4677f8919f647cd5d6951d7e60e (diff)
downloadpodman-2c81a756e310d59702b52ffc30d84aa9e11a8dbd.tar.gz
podman-2c81a756e310d59702b52ffc30d84aa9e11a8dbd.tar.bz2
podman-2c81a756e310d59702b52ffc30d84aa9e11a8dbd.zip
Update the version of conmon used in test
Also start using podmin in /usr/libexec/podman rather then crio. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #979 Approved by: baude
Diffstat (limited to 'test/e2e/run_ns_test.go')
-rw-r--r--test/e2e/run_ns_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/e2e/run_ns_test.go b/test/e2e/run_ns_test.go
index 1dfec9f64..ccc534780 100644
--- a/test/e2e/run_ns_test.go
+++ b/test/e2e/run_ns_test.go
@@ -46,16 +46,17 @@ var _ = Describe("Podman run ns", func() {
})
It("podman run ipcns test", func() {
- setup := podmanTest.SystemExec("mktemp", []string{"/dev/shm/podmantest.XXXX)"})
+ testFile := "/dev/shm/podmantest"
+ setup := podmanTest.SystemExec("touch", []string{testFile})
setup.WaitWithDefaultTimeout()
Expect(setup.ExitCode()).To(Equal(0))
- session := podmanTest.Podman([]string{"run", "--ipc=host", fedoraMinimal, "ls", setup.OutputToString()})
+ session := podmanTest.Podman([]string{"run", "--ipc=host", fedoraMinimal, "ls", testFile})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- Expect(session.OutputToString()).To(ContainSubstring(setup.OutputToString()))
+ Expect(session.OutputToString()).To(ContainSubstring(testFile))
- err := os.Remove(setup.OutputToString())
+ err := os.Remove(testFile)
Expect(err).To(BeNil())
})