Commit Graph

32 Commits (master)

Author SHA1 Message Date
Michael Stapelberg ae5da07e4c
remove naked returns across the code base (#75)
fixes #73
2020-01-28 10:10:08 +01:00
Arran Walker 5ee7049312 replace imports of "golang.org/x/net/context" with "context" 2018-02-07 19:18:23 +00:00
Aaron Jacobs 57b4e8798f Fixed other tests on OS X. 2015-09-09 22:55:39 +10:00
Aaron Jacobs 82289ebdd4 Fixed sample build errors. 2015-07-27 15:47:45 +10:00
Aaron Jacobs 3103bb22a1 Updated samples. 2015-06-22 12:31:25 +10:00
Aaron Jacobs 1939992b46 Reference package syncutil in its new location. 2015-06-15 08:27:39 +10:00
Aaron Jacobs 3cb67f5833 Tightened forgetfs's post-destruction check, now that we can. 2015-06-09 13:27:02 +10:00
Aaron Jacobs 43c8f9d8c2 Fixed a bug in forgetfs.
This manifested as ForgetFSTest.MkDir pacicking now and then in a manner
like this:

    28e0a01a92/gistfile1.txt
2015-06-09 13:25:28 +10:00
Aaron Jacobs 9cc2a6f450 Implemented Destroy for forgetfs. 2015-06-09 11:10:39 +10:00
Aaron Jacobs c9c4a456b1 Removed the Linux destroy workaround. 2015-06-09 11:04:26 +10:00
Aaron Jacobs f7952dbc64 Fixed forgetfs. 2015-06-05 14:18:39 +10:00
Aaron Jacobs e859e64179 fsImpl.Check: Bail out early on Linux.
To my great disappointment, I can't figure out a way to make this test
reliable on Linux. Hopefully the cited mailing list thread will come
through.
2015-03-31 16:01:22 +11:00
Aaron Jacobs 2dd919f8f3 Fixed misspecification of forget behavior for the root inode. 2015-03-31 15:25:20 +11:00
Aaron Jacobs 074e69a3df fsImpl.MkDir 2015-03-31 10:15:46 +11:00
Aaron Jacobs 1bceb941b1 fsImpl.CreateFile 2015-03-31 10:15:06 +11:00
Aaron Jacobs 11878520a6 fsImpl.OpenDir 2015-03-31 10:11:00 +11:00
Aaron Jacobs fef47a3a32 fsImpl.ForgetInode 2015-03-31 10:01:09 +11:00
Aaron Jacobs ee2040958c The root inode ends with a lookup count of one, too. 2015-03-31 09:53:39 +11:00
Aaron Jacobs 8e04b7d848 fsImpl.OpenFile 2015-03-31 09:50:01 +11:00
Aaron Jacobs 50cda17355 Fixed a panic. 2015-03-31 09:48:50 +11:00
Aaron Jacobs d0a8174ec0 fsImpl.LookUpInode. 2015-03-31 09:46:01 +11:00
Aaron Jacobs 541223bb07 fsImpl.GetInodeAttributes 2015-03-31 09:39:27 +11:00
Aaron Jacobs a573f6e575 The root inode begins with a lookup count of 1.
Cf. jacobsa/fuse@36d7193638
2015-03-30 16:36:28 +11:00
Aaron Jacobs f76439120c Check 2015-03-30 16:35:37 +11:00
Aaron Jacobs a787be87bb fsImpl.checkInvariants 2015-03-30 16:35:37 +11:00
Aaron Jacobs b2b1b6a4ef Added fsImpl members. 2015-03-30 16:35:37 +11:00
Aaron Jacobs a37b22d786 fsImpl.Init 2015-03-30 16:35:37 +11:00
Aaron Jacobs 42cefe94f7 Revised a plan. 2015-03-30 16:35:37 +11:00
Aaron Jacobs 8e8c391a21 Made a panic clearer. 2015-03-30 16:35:37 +11:00
Aaron Jacobs faba594f7f ForgetFSTest.SetUp 2015-03-30 16:35:37 +11:00
Aaron Jacobs 36643c8daf Added test names. 2015-03-30 16:35:36 +11:00
Aaron Jacobs 987e4f4087 Sketched forgetfs. 2015-03-30 16:35:36 +11:00