Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8239365

ProcessBuilder test modifications for AIX execution

XMLWordPrintable

    • b20
    • ppc
    • aix

        - Test
        java/lang/ProcessBuilder/Basic.java

        - Summary
        Some AIX configurations appears to produce different error messages than the ones the test matches on, causing test failure.

        - Details
        When the AIX machine the test is running on has the file set "bos.msg.en_US.rte", it uses an alternative set of error messages for things like file access errors. When we deliberately trigger those errors in the test and match on the string output, the presence of that file set causes the test to fail.

        - Proposed fix
        Add both forms of the AIX error messages to the patterns we're matching against. The webrev is for jdk/jdk, and the fix should be backported if there is support for this.

        - Webrev
        http://cr.openjdk.java.net/~afarley/8239365.1/webrev/

              afarley Adam Farley
              afarley Adam Farley
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: