Added a test name.
parent
978c353cf7
commit
bf0b773894
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue