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

3 regression shell tests do not recognize Windows ME

    XMLWordPrintable

    Details

      Description



      Name: asR10013 Date: 11/27/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08
      Testbase : RegTest-test
      Platform[s] : Windows ME
      Falling test[s]:
              java/io/Serializable/evolution/RenamePackage/run.sh
              java/io/Serializable/serialver/classpath/run.sh
              java/io/Serializable/serialver/nested/run.sh

      3 RegTest-test tests do not recognize Windows ME as a valid system and fail.

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/io/Serializable/evolution/RenamePackage/run.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/io/Serializable/serialver/classpath/run.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/io/Serializable/serialver/nested/run.sh

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/java/io/Serializable/evolution/RenamePackage/run.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/java/io/Serializable/serialver/classpath/run.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/java/io/Serializable/serialver/nested/run.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.4.2/win32"
      TEST_BASE_PATH="h:/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH -client -Xmixed -DenvVars=TESTJAVAHOME=$JAVA_HOME,DISPLAY=:0,WinDir=$windir,PATH=C:/mksnt,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-18" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/io/Serializable/evolution/RenamePackage/run.sh"

      --- script end ---

      Script output:
      ==============
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.228:1903/
      runner starting test: java\io\Serializable\evolution\RenamePackage\run.sh
      runner finished test: java\io\Serializable\evolution\RenamePackage\run.sh
      Failed. Execution failed: exit code 1
      Test results: failed: 1
      Report written to H:\store\users\vsh\regtest\scripts\reportDir\report.html
      Results written to H:\store\users\vsh\regtest\scripts\workDir\test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      ----------messages:(3/116)----------
      command: shell run.sh
      reason: Assumed action based on file name: run shell run.sh
      elapsed time (seconds): 0.17
      ----------System.out:(1/22)----------
      Unrecognized system!
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      Specific machine info:
      ======================
      Hostname: linux-18
      OS: Windows ME



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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              alssunw Als Als (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: