mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
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>
This commit is contained in:
@ -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))
|
||||
})
|
||||
|
Reference in New Issue
Block a user