Commit Graph

3 Commits

Author SHA1 Message Date
Jamie Wilkinson 33b62e7d34 Test that a read of nonzero bytes from an InMemFile does not return EOF in the same read op. 2015-05-01 17:12:06 -04:00
Anthony Fok 3effba0913 Correct directory permission of testDir
When fs.MkdirAll() was called with a permission of "777" (without the 0 prefix),
it generated the testDir with a permission of `dr----x--x`, causing the following error
during a test run:

    === RUN TestRead0
    --- FAIL: TestRead0 (0.00 seconds)
    	fs_test.go:53: OsFs create failed: open /tmp/fun/test.txt: permission denied

Changing the decimal `777` to octal `0777` fixes the problem.
2014-12-12 13:33:27 -05:00
spf13 0bc61700a3 afero is born 2014-10-28 10:29:28 -04:00