[ 
https://issues.apache.org/jira/browse/DERBY-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Myrna van Lunteren updated DERBY-3837:
--------------------------------------

    Attachment: DERBY-3837.diff

attaching a patch that creates test store/OSReadOnlyTest and adds this to the 
store/_Suite.

I've tested the test itself on win, linux, iseries, with a variety of ibm and 
sun jvms (incl. weme6.1), and the _Suite on win with jdk1.5. and weme6.1.
The one platform I'm curious about is ibm zseries; I'll see if I can do this, 
and will attempt to run derbyall; after that I intend to commit this.

review comments are welcome.

> need to test getting appropriate error message when os files are read-only
> --------------------------------------------------------------------------
>
>                 Key: DERBY-3837
>                 URL: https://issues.apache.org/jira/browse/DERBY-3837
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.5.0.0
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>            Priority: Minor
>         Attachments: DERBY-3837.diff
>
>
> We don't currently have a way to test what happens when a database is on 
> read-only media (e.g. a cd, floppy).
> Without user involvement (i.e. inserting a disk somewhere etc) it's hard to 
> fully test, but a test that simulates this by making the files on the OS 
> read-only would give some coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to