summaryrefslogtreecommitdiff
path: root/test/e2e/info_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-17 13:58:47 -0400
committerGitHub <noreply@github.com>2021-06-17 13:58:47 -0400
commit725b5001a17f703d95a3c88e4f58225c5290576b (patch)
treee1caa3b2d18ca0fed2a4fddb8c434e007dc604a6 /test/e2e/info_test.go
parent814a8b6d715e1e8d729c58921695c65eec0e71bc (diff)
parentbd9987239dae148bfd3eea8540d21ae7715faff7 (diff)
downloadpodman-725b5001a17f703d95a3c88e4f58225c5290576b.tar.gz
podman-725b5001a17f703d95a3c88e4f58225c5290576b.tar.bz2
podman-725b5001a17f703d95a3c88e4f58225c5290576b.zip
Merge pull request #10688 from jwhonce/bz/1855983
Scrub podman commands to use report package
Diffstat (limited to 'test/e2e/info_test.go')
-rw-r--r--test/e2e/info_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/info_test.go b/test/e2e/info_test.go
index f5b70d6bf..83d185be1 100644
--- a/test/e2e/info_test.go
+++ b/test/e2e/info_test.go
@@ -101,11 +101,11 @@ var _ = Describe("Podman Info", func() {
u, err := user.Current()
Expect(err).To(BeNil())
+ // Cannot use podmanTest.Podman() and test for storage path
expect := filepath.Join("/tmp", os.Getenv("HOME"), u.Username, u.Uid, "storage")
podmanPath := podmanTest.PodmanTest.PodmanBinary
- cmd := exec.Command(podmanPath, "info", "--format", "{{.Store.GraphRoot}}")
+ cmd := exec.Command(podmanPath, "info", "--format", "{{.Store.GraphRoot -}}")
out, err := cmd.CombinedOutput()
- fmt.Println(string(out))
Expect(err).To(BeNil())
Expect(string(out)).To(Equal(expect))
})