You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/10/26 01:10:55 UTC

[jira] Created: (DERBY-647) Test harness for multi tests mangles file names if current directory contains a dot

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


[jira] Resolved: (DERBY-647) Test harness for multi tests mangles file names if current directory contains a dot

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-647?page=all ]
     
Daniel John Debrunner resolved DERBY-647:
-----------------------------------------

    Resolution: Fixed

svn revision 328515 - simplified code to generate log file names.

> 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
>     Assignee: 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


[jira] Closed: (DERBY-647) Test harness for multi tests mangles file names if current directory contains a dot

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-647?page=all ]
     
Daniel John Debrunner closed DERBY-647:
---------------------------------------


> 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
>     Assignee: 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