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

RegTest-cte CTE_REGTEST/Generic/4845371/DBB.java failed

XMLWordPrintable

    • tiger
    • itanium
    • linux
    • Verified



      Name: aaR10208 Date: 08/20/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b15
      Testbase : RegTest-cte
      Platform[s] : RedHat Linux 2.1 Adv. Server
      Falling test[s]: CTE_REGTEST/Generic/4845371/DBB.java

      RegTest-cte CTE_REGTEST/Generic/4845371/DBB.java test fails on RH Linux (ia64)
      using JDK1.5.0-b15.
      Here is a part of the test's source code:

      === file: CTE_REGTEST/Generic/4845371/Test4845371.sh ===
      ! 50 if [ $Check64Bit = 1 ]
           51 then
           52 echo "Test passed, Not valid for 64 bit JDK"
           53 exit 0
           54 fi
      =====
      The quote marks around $Check64Bit are missing, so the test fails to check for 64-bit platform.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4845371/Test4845371.sh

      jtr file location:
      ==================
      /net/jtgb4u4c/export/sail15/results/tiger/b15/regtest/linux/RH21AS_server_jcc_itanium_01/workDir/cte/CTE_REGTEST/Generic/4845371/DBB.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
      === script.sh ===
      #!/bin/sh
      TESTBASE=/net/jdk/export/jpse04/Regression/1.5.0/test/
      JDK=/java/re/jdk/1.5.0/promoted/beta/b15/binaries/linux-ia64
      TESTSRC=${TESTBASE}/CTE_REGTEST/Generic/4845371
      TESTJAVA=${JDK}
      TESTCLASSES=`pwd`

      cp ${TESTSRC}/DBB.java .
      ${JDK}/bin/javac DBB.java

      export TESTSRC
      export TESTJAVA
      export TESTCLASSES
      ${TESTSRC}/Test4845371.sh
      === script.sh ===



      Test output (jtr part):
      =======================
      ----------System.err:(10/935)----------
      Exception in thread "main" java.lang.NoClassDefFoundError: Check64Bit
      /net/jtgb4u4c/export/sail16/Regression/1.5.0/cte/CTE_REGTEST/Generic/4845371/Test4845371.sh: [: =: unary operator expected
      [...]

      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-01 (ia64)
      OS: RedHat Linux 2.1 Adv. Server


      ======================================================================

            asaha Abhijit Saha
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: