Fixed some test bugs.

geesefs-0-30-9
Aaron Jacobs 2015-03-03 10:41:30 +11:00
parent 01878af39a
commit f9e2e55ac8
1 changed files with 3 additions and 3 deletions

View File

@ -163,9 +163,9 @@ func (t *MemFSTest) Mkdir_OneLevel() {
ExpectEq(currentUid(), stat.Uid) ExpectEq(currentUid(), stat.Uid)
ExpectEq(currentGid(), stat.Gid) ExpectEq(currentGid(), stat.Gid)
ExpectEq(0, stat.Size) ExpectEq(0, stat.Size)
ExpectEq(createTime, timespecToTime(stat.Atimespec)) ExpectEq(0, timespecToTime(stat.Atimespec).Sub(createTime))
ExpectEq(createTime, timespecToTime(stat.Mtimespec)) ExpectEq(0, timespecToTime(stat.Mtimespec).Sub(createTime))
ExpectEq(createTime, timespecToTime(stat.Ctimespec)) ExpectEq(0, timespecToTime(stat.Ctimespec).Sub(createTime))
// Read the directory. // Read the directory.
entries, err := ioutil.ReadDir(dirName) entries, err := ioutil.ReadDir(dirName)