summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorHironori Shiina <Hironori.Shiina@fujitsu.com>2020-12-24 21:00:16 -0500
committerHironori Shiina <Hironori.Shiina@fujitsu.com>2020-12-24 21:00:16 -0500
commiteeb4c129be58bf424cf2fc0b74a637857962282f (patch)
tree0e1e97da16b371026366c8ac390625f22c622d06 /test/e2e
parent8f75ed958562f4deb47799259e22d4f195e0d426 (diff)
downloadpodman-eeb4c129be58bf424cf2fc0b74a637857962282f.tar.gz
podman-eeb4c129be58bf424cf2fc0b74a637857962282f.tar.bz2
podman-eeb4c129be58bf424cf2fc0b74a637857962282f.zip
Fix e2e test for `podman build --logfile`
Type casting is necessary to see if the logfile size is not equal to 0. Signed-off-by: Hironori Shiina <Hironori.Shiina@fujitsu.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/build_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/build_test.go b/test/e2e/build_test.go
index ac9481797..0c74bf972 100644
--- a/test/e2e/build_test.go
+++ b/test/e2e/build_test.go
@@ -72,9 +72,9 @@ var _ = Describe("Podman build", func() {
st, err := os.Stat(logfile)
Expect(err).To(BeNil())
- Expect(st.Size()).To(Not(Equal(0)))
+ Expect(st.Size()).To(Not(Equal(int64(0))))
- session = podmanTest.Podman([]string{"rmi", "alpine"})
+ session = podmanTest.Podman([]string{"rmi", "test"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
})