On 22/01/2014 12:00 AM, Dmitry Samersoff wrote:
Missed CR in subject. Sorry!

http://cr.openjdk.java.net/~dsamersoff/JDK-8002116/webrev.01/

You already create the file with mkFiles so no need to echo something into it, a simple cat will suffice to see if it is unreadable.

Not sure why this was being run as root though - can't be normal else we'd have seen this before. There are other tests that fail when run as root due to still being able to read/write unreadable/unwriteable files.

BTW the indention in that test case is messed up (in the original).

David


On 2014-01-21 17:49, Dmitry Samersoff wrote:
Hi Everyone,

Please review.

http://cr.openjdk.java.net/~dsamersoff/JDK-8002116/webrev.01/

I can't reproduce the issue locally, but suspect, the test failed
because after chmod a-r the file is sill readable. So check it
explicitly before run the test itself.



Reply via email to