Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
bf0b7738
Commit
bf0b7738
authored
Mar 06, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test name.
parent
978c353c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
samples/memfs/inode.go
samples/memfs/inode.go
+0
-7
samples/memfs/memfs_test.go
samples/memfs/memfs_test.go
+4
-0
No files found.
samples/memfs/inode.go
View file @
bf0b7738
...
...
@@ -27,10 +27,6 @@ import (
)
// Common attributes for files and directories.
//
// TODO(jacobsa): Add tests for interacting with a file/directory after it has
// been unlinked, including creating a new file. Make sure we don't screw up
// and reuse an inode ID while it is still in use.
type
inode
struct
{
/////////////////////////
// Dependencies
...
...
@@ -74,9 +70,6 @@ type inode struct {
// might be calling readdir in a loop while concurrently modifying the
// directory. Unused entries can, however, be reused.
//
// TODO(jacobsa): Add good tests exercising concurrent modifications while
// doing readdir, seekdir, etc. calls.
//
// INVARIANT: If dir is false, this is nil.
// INVARIANT: For each i, entries[i].Offset == i+1
// INVARIANT: Contains no duplicate names in used entries.
...
...
samples/memfs/memfs_test.go
View file @
bf0b7738
...
...
@@ -977,3 +977,7 @@ func (t *MemFSTest) Chtimes() {
AssertEq
(
nil
,
err
)
ExpectEq
(
0
,
fi
.
ModTime
()
.
Sub
(
expectedMtime
))
}
func
(
t
*
MemFSTest
)
ReadDirWhileModifying
()
{
AssertTrue
(
false
,
"TODO"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment