summaryrefslogtreecommitdiff
path: root/test/e2e/namespace_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-05 06:13:28 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-07 10:19:08 -0400
commitccc5bc167fa2c140e33963bb5cce99f40ff00281 (patch)
tree5cd6445f92921c7015fbe0b9663983165bd58db3 /test/e2e/namespace_test.go
parenta7500e54a4646c7db477349e2530ac13df77b8fa (diff)
downloadpodman-ccc5bc167fa2c140e33963bb5cce99f40ff00281.tar.gz
podman-ccc5bc167fa2c140e33963bb5cce99f40ff00281.tar.bz2
podman-ccc5bc167fa2c140e33963bb5cce99f40ff00281.zip
Attempt to turn on some more remote tests
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/namespace_test.go')
-rw-r--r--test/e2e/namespace_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/e2e/namespace_test.go b/test/e2e/namespace_test.go
index 92df3df48..951e98dfc 100644
--- a/test/e2e/namespace_test.go
+++ b/test/e2e/namespace_test.go
@@ -33,9 +33,14 @@ var _ = Describe("Podman namespaces", func() {
})
It("podman namespace test", func() {
- SkipIfRemote("FIXME This should work on Remote")
podman1 := podmanTest.Podman([]string{"--namespace", "test1", "run", "-d", ALPINE, "echo", "hello"})
podman1.WaitWithDefaultTimeout()
+ if IsRemote() {
+ // --namespace flag not supported in podman remote
+ Expect(podman1.ExitCode()).To(Equal(125))
+ Expect(podman1.ErrorToString()).To(ContainSubstring("unknown flag: --namespace"))
+ return
+ }
Expect(podman1.ExitCode()).To(Equal(0))
podman2 := podmanTest.Podman([]string{"--namespace", "test2", "ps", "-aq"})