Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1679

Platform independent temporary directory name in ApplicationArchiveTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Environment:

      Windows

    • Epic Link:
    • Sprint:
      Drake Sprint 2 (7/27-8/14) 2

      Description

      ApplicationArchiveTest uses "/tmp/app-junit" as temporary directory. This directory name is not appropriate for Windows. The name is intepreted as "c:\tmp\app-junit" on Windows. Since it is not default location of temporary file, it may fail to create the directory if the user doesn't have permission.
      In Java, 'java.io.tmpdir' property, which represents default temporary directory name, should be used. File.seprartor also should be used instead of '/'.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            tom Thomas Vachuska
            Reporter:
            kenji Kenji Hikichi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: