From 8321aac591d057e3361f72f48d1eba540a38a91c Mon Sep 17 00:00:00 2001 From: Tiago Scolari Date: Wed, 26 Apr 2017 16:47:16 +0100 Subject: [PATCH] Do not bind mount os.TempDir on integration test [#144345725] Signed-off-by: Roberto Jimenez Sanchez --- integration/delete_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/delete_test.go b/integration/delete_test.go index 1b68c88e3..609950743 100644 --- a/integration/delete_test.go +++ b/integration/delete_test.go @@ -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() {