Create a directory with no write perms for TestAndroidConfigUtil.

Review Request #1796 - Created Feb. 19, 2015 and submitted

Information
Mateo Rodriguez
pants
b04ed06...
Reviewers
jinfeng, jsirois
The original test assumed we would have no write permissions outside
of home, which turned out not to be a safe assumption.

I added the IOError to the exception catch in AndroidConfigUtil.
The OSError is raised from the safe_open, if there is no
permission to make dirs. The IOError is for cases where the
directories exist but pants does not have permission to write there.

PANTS_DEV=1 ./pants test tests/python/pants_test/android::
Travis passed: https://travis-ci.org/pantsbuild/pants/builds/51419786

David Turner
Mateo Rodriguez
Jin Feng
Tejal Desai
Mateo Rodriguez
Mateo Rodriguez
Review request changed

Status: Closed (submitted)

John Sirois
Thanks for the robustification.
Loading...