summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-03-19 10:38:56 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-03-19 15:01:54 +0100
commit4ac08d3aa1882851d4a03aa1e53c47c6fb173958 (patch)
treeff27a306055f4eb6a1b57455cd15d3c7fe6eccf9 /test/e2e
parentb581fa1510f00864386859dd30f5392c6a521c0c (diff)
downloadpodman-4ac08d3aa1882851d4a03aa1e53c47c6fb173958.tar.gz
podman-4ac08d3aa1882851d4a03aa1e53c47c6fb173958.tar.bz2
podman-4ac08d3aa1882851d4a03aa1e53c47c6fb173958.zip
ps: fix segfault if the store is not initialized
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/ps_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go
index dc29a8f20..957c69aa8 100644
--- a/test/e2e/ps_test.go
+++ b/test/e2e/ps_test.go
@@ -82,6 +82,8 @@ var _ = Describe("Podman ps", func() {
})
It("podman ps size flag", func() {
+ SkipIfRootless()
+
_, ec, _ := podmanTest.RunLsContainer("")
Expect(ec).To(Equal(0))
@@ -233,6 +235,8 @@ var _ = Describe("Podman ps", func() {
})
It("podman --sort by size", func() {
+ SkipIfRootless()
+
session := podmanTest.Podman([]string{"create", "busybox", "ls"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))