#7 Spaces in path names cause test case failures

closed-fixed
nobody
None
5
2011-09-29
2011-09-29
William Rose
No

A number of test cases attempt to run oddjob in a new process, or otherwise refer to the location of the project/checkout without quoting command line arguments. A related issue is that many of the test cases use URL.getFile() to get the file name component, but this does not unescape the URI component, meaning spaces stay as %20. The fix is to use URL.toURI() and pass the URI to the File constructor instead of the path.

The attached patches modify the test cases to address issues relating to spaces in file names.

Discussion

  • William Rose
    William Rose
    2011-09-29

    Patch to oddjob.git test cases

     
  • Rob Gordon
    Rob Gordon
    2011-09-29

    Patch applied. Many thanks.

     
  • Rob Gordon
    Rob Gordon
    2011-09-29

    • status: open --> closed
     
  • Rob Gordon
    Rob Gordon
    2011-09-29

    • status: closed --> closed-fixed