Fixed a silly test bug.

geesefs-0-30-9
Aaron Jacobs 2015-12-14 23:40:46 +00:00
parent 67e4fbbc5f
commit ab9f5b35ca
1 changed files with 2 additions and 2 deletions

View File

@ -1640,7 +1640,7 @@ func (t *MknodTest) File() {
p := path.Join(t.Dir, "foo")
// Create
err = syscall.Mknod(p, syscall.S_IFREG|0642, 0)
err = syscall.Mknod(p, syscall.S_IFREG|0641, 0)
AssertEq(nil, err)
// Stat
@ -1649,7 +1649,7 @@ func (t *MknodTest) File() {
ExpectEq(path.Base(p), fi.Name())
ExpectEq(0, fi.Size())
ExpectEq(os.FileMode(0642), fi.Mode())
ExpectEq(os.FileMode(0641), fi.Mode())
// Read
contents, err := ioutil.ReadFile(p)