Commit bf0b7738 authored by Aaron Jacobs's avatar Aaron Jacobs

Added a test name.

parent 978c353c
......@@ -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.
......
......@@ -977,3 +977,7 @@ func (t *MemFSTest) Chtimes() {
AssertEq(nil, err)
ExpectEq(0, fi.ModTime().Sub(expectedMtime))
}
func (t *MemFSTest) ReadDirWhileModifying() {
AssertTrue(false, "TODO")
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment