From cab543fa8c64e83ce1da5c4a19c7ba3b8c7de20f Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 Mar 2015 08:43:24 +1100 Subject: [PATCH] Fixed more build errors. --- samples/flushfs/flush_fs_test.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/samples/flushfs/flush_fs_test.go b/samples/flushfs/flush_fs_test.go index 78bc034..c428265 100644 --- a/samples/flushfs/flush_fs_test.go +++ b/samples/flushfs/flush_fs_test.go @@ -25,7 +25,6 @@ import ( "testing" "github.com/jacobsa/bazilfuse" - "github.com/jacobsa/fuse" "github.com/jacobsa/fuse/samples" . "github.com/jacobsa/oglematchers" . "github.com/jacobsa/ogletest" @@ -597,9 +596,6 @@ func (t *FlushErrorTest) Close() { t.f1, err = os.OpenFile(path.Join(t.Dir, "foo"), os.O_RDWR, 0) AssertEq(nil, err) - // Configure a flush error. - t.setFlushError(fuse.ENOENT) - // Close the file. err = t.f1.Close() t.f1 = nil @@ -623,9 +619,6 @@ func (t *FlushErrorTest) Dup() { t.f2 = os.NewFile(uintptr(fd2), t.f1.Name()) - // Configure a flush error. - t.setFlushError(fuse.ENOENT) - // Close by the first handle. On OS X, where the semantics of file handles // are different (cf. https://github.com/osxfuse/osxfuse/issues/199), this // does not result in an error. @@ -661,9 +654,6 @@ func (t *FlushErrorTest) Dup2() { err = os.Remove(t.f2.Name()) AssertEq(nil, err) - // Configure a flush error. - t.setFlushError(fuse.ENOENT) - // Duplicate the temporary file descriptor on top of the file from our file // system. We shouldn't see the flush error. err = dup2(int(t.f2.Fd()), int(t.f1.Fd())) @@ -689,9 +679,6 @@ func (t *FsyncErrorTest) Fsync() { t.f1, err = os.OpenFile(path.Join(t.Dir, "foo"), os.O_RDWR, 0) AssertEq(nil, err) - // Configure an fsync error. - t.setFsyncError(fuse.ENOENT) - // Fsync. err = t.f1.Sync()