vert-x/vert.x — pull request #368 by aaboyd (2012-10-06 07:03:58+00:00)
Title: Test failures because of file permissions if umask is not 022

Some of the tests for the file system are assuming a specific default file permission and directory permission. Two things have changed.

__NOTE :__ _I am not positive this is the best way to do these things, but tests pass, so I wanted someone to look at it_

1. chmod tests are testing that files and directories have certain default permissions before doing the chmod. To enforce this, I created a method setPerms which is called whenever a temporary file or directory is created to **force** these default permissions.

2. commented out the assertion for the DEFAULT_DIR_PERMS in mkdir tests where the actual default permissions cannot be guaranteed. Assertion doesn't seem to be verifying the test. The test is if the directory has been created. There is another test for permissions of created directories.

__I found this while trying to get travis_ci builds up and running for vert.x, I am pretty close [Build on Travis CI with only 1 Failure!](https://travis-ci.org/#!/aaboyd/vert.x/jobs/2685621)__