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