Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11, 0.10.1, 0.12.0
    • None
    • None
    • Reviewed

    Description

      many of the pig tests assume the first line (e.g. #!/bin/sh) auto-resolves the interpreter. This doesn't work on Windows. To run scripts in a cross-platform context, tests should invoke "perl test.pl" or "sh test.sh" instead.

      Attachments

        1. PIG-2798-2.patch
          0.7 kB
          Daniel Dai
        2. PIG-2798-0.10.patch
          66 kB
          Daniel Dai
        3. 0008-Updating-test-execution-invocation-model.patch
          70 kB
          John Gordon

        Activity

          jgordon John Gordon added a comment -

          Patch for streaming tests to specify their interpreters at execution time to apply to multiple platforms with a uniform behavior.

          jgordon John Gordon added a comment - Patch for streaming tests to specify their interpreters at execution time to apply to multiple platforms with a uniform behavior.
          daijy Daniel Dai added a comment -

          Attach PIG-2798-0.10.patch – the same patch for 0.10 branch.

          daijy Daniel Dai added a comment - Attach PIG-2798 -0.10.patch – the same patch for 0.10 branch.
          daijy Daniel Dai added a comment -

          +1.

          Patch committed to 0.10/0.11/trunk.

          Thanks John!

          daijy Daniel Dai added a comment - +1. Patch committed to 0.10/0.11/trunk. Thanks John!
          daijy Daniel Dai added a comment -

          TestGrunt is broken after the patch. Fixed with PIG-2798-2.patch.

          daijy Daniel Dai added a comment - TestGrunt is broken after the patch. Fixed with PIG-2798 -2.patch.

          People

            jgordon John Gordon
            jgordon John Gordon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: