Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-337

ant test-java fails in Cygwin due to CRLF v LF problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • java
    • None

    Description

      Since the PrintWriter under Cygwin (since the Java runtime is for Windows) generates CRLF for newline instead of LF. This causes JUnit assertions to fail. The accompanying patch fixes these by stripping CR from the generated strings.

      Attachments

        1. AVRO-337.patch
          3 kB
          Thiruvalluvan M. G.

        Activity

          People

            thiru_mg Thiruvalluvan M. G.
            thiru_mg Thiruvalluvan M. G.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: