Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2793 Make Pig Work on Windows without Cygwin
  3. PIG-3333

Fix remaining Windows core unit test failures

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • impl
    • None
    • Reviewed

    Description

      I combine a bunch of Windows unit test fixes into one patch to make things cleaner. They all originated from obvious Windows/Unix inconsistencies, which includes:
      1. Path separator inconsistency: "/" vs "\"
      2. Path component separator inconsistency: ":" vs ";"
      3. "volume:" is not acceptable as URI
      4. Unix tools/commands (eg, bash, rm) does not exist in Windows
      5. .sh script need a .cmd companion in Windows
      6. "\r\n" vs "\n" as newline
      7. Environment variable use different name (USER vs USERNAME)
      8. File not closed, not an issue in Unix, but an issue in Windows (not able to remove a open file)

      Attachments

        1. PIG-3333-1.patch
          52 kB
          Daniel Dai
        2. PIG-3333-2.patch
          52 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: