Skip to content

Commit

Permalink
Do not bind mount os.TempDir on integration test
Browse files Browse the repository at this point in the history
[#144345725]

Signed-off-by: Roberto Jimenez Sanchez <[email protected]>
  • Loading branch information
tscolari authored and MissingRoberto committed Apr 26, 2017
1 parent 1f484c7 commit 8321aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var _ = Describe("Delete", func() {
JustBeforeEach(func() {
mntPoint = filepath.Join(image.Path, "mnt")
Expect(os.Mkdir(mntPoint, 0700)).To(Succeed())
Expect(syscall.Mount(os.TempDir(), mntPoint, "none", syscall.MS_BIND, "")).To(Succeed())
Expect(syscall.Mount(mntPoint, mntPoint, "none", syscall.MS_BIND, "")).To(Succeed())
})

AfterEach(func() {
Expand Down

0 comments on commit 8321aac

Please sign in to comment.