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

TEST_BUG: RegTest-cte CTE_REGTEST/Generic/4797383/Test4797383.java failed

XMLWordPrintable

    • x86, sparc
    • solaris_9



      Name: aaR10208 Date: 05/04/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b21
      Testbase : RegTest-cte
      Platform[s] : Solaris 9 (x86) (CDE)
      switch/Mode : -server
      Falling test[s]: CTE_REGTEST/Generic/4797383/Test4797383.java

      Here is a part of the test's source code:
      ===== Test4797383.sh =====
           53 if [ -d /etc/.java ]
           54 then
           55 echo "/etc/.java directory exists. Test can not run."
           56 echo "Remove/Rename this directory and then start the test again"
           57 exit 1
           58 fi
      ==========================

      The test fails if /etc/.java directory exists. The /etc directory usually is not writable
      for ordinary users, and root privilegies are not always accesible for the test engineer.

      The test should not fail if directory exists.


      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4797383/Test4797383.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b21/regtest/x86/sol9_x86-server_smp_linux-6/workDir/cte/CTE_REGTEST/Generic/4797383/Test4797383.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      JDK=/net/linux-15/export/home/java/jdk1.4.2/x86
      TESTBASE=/net/linux-15/export/home/java/regtest/cte
      TEST=Test4797383
      cp ${TESTBASE}/CTE_REGTEST/Generic/4797383/$TEST.java .
      cp ${TESTBASE}/CTE_REGTEST/Generic/4797383/$TEST.sh .
      ${JDK}/bin/javac ${TEST}.java
      TESTJAVA=$JDK
      TESTCLASSES=.
      export TESTJAVA
      export TESTCLASSES
      sh ./$TEST.sh
      --- script end ---

      Script output:
      ==============
      /etc/.java directory exists. Test can not run.
      Remove/Rename this directory and then start the test again


      Test output (jtr part):
      =======================
      ----------System.out:(2/106)----------
      /etc/.java directory exists. Test can not run.
      Remove/Rename this directory and then start the test again
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      Specific machine info:
      ======================
      Hostname: linux-6
      OS: Solaris 9 (x86) (CDE)

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: