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

Testcase vm/compiler1/6362070/MathRandomTest.java has incorrect exit code.

XMLWordPrintable

    • b02
    • sparc
    • solaris

      The code in vm/compiler1/6362070/Test6362070.sh has an obvious error.

      fruitnut 5.9 $ tail -8 /net/jdk.sfbay/export/jpse04/Regression/1.4.2/test/vm/compiler1/6362070/Test6362070.sh
      if [ -s test.out ]
      then
          echo "Test Failed"
          exit 1
      else
          echo "Test Passed"
          exit 1 <======= !
      fi

      The else block should have exit code 0 for the test pass.

      exit code 1 causes it to fail in the test harness.

            asaha Abhijit Saha
            wrockett Walter Rockett (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: