Test harness for multi tests mangles file names if current directory contains a
dot
-----------------------------------------------------------------------------------
Key: DERBY-647
URL: http://issues.apache.org/jira/browse/DERBY-647
Project: Derby
Type: Bug
Components: Test
Versions: 10.2.0.0
Reporter: Daniel John Debrunner
Assigned to: Daniel John Debrunner
Priority: Minor
Fix For: 10.2.0.0
If the current directory is something liket
Java user dir:
c:\export\home\tmp\os136789\testingDerby\CYGWIN_NT-5.2_i686-unknown\derbyall
The test harness for multi tests is creating a log file based off that
path, but is getting confused by the '.', assuming that is the lead in
to a suffix. Thus it comes up with a log file of:
C:\export\home\tmp\os136789\testingDerby\CYGWIN_NT-5.log
which is outside the user.dir (current directory) and so of course,
correctly, permission has not been granted to create that file.
Thus this causes stress.multi to fail when the security manager is enabled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira