RR(XS): JDK-8002116 This JdbReadTwiceTest.sh gets an exit 1

David Holmes david.holmes at oracle.com
Tue Jan 21 22:39:15 PST 2014


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.
>>
>
>


More information about the serviceability-dev mailing list