Avro
  1. Avro
  2. AVRO-337

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: java
    • Labels:
      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.

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

        Activity

        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Doug Cutting made changes -
        Fix Version/s 1.3.0 [ 12314318 ]
        Thiruvalluvan M. G. made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Thiruvalluvan M. G. made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Thiruvalluvan M. G. made changes -
        Field Original Value New Value
        Attachment AVRO-337.patch [ 12430389 ]
        Thiruvalluvan M. G. created issue -

          People

          • Assignee:
            Thiruvalluvan M. G.
            Reporter:
            Thiruvalluvan M. G.
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development