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

TEST_BUG:java/awt/FileDialog/TestFileDialogJNIRef/TestFileDialogJNIRef.java

XMLWordPrintable

    • itanium
    • linux



      Name: aaR10208 Date: 10/07/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b22
      Testbase : RegTest-test
      Platform[s] : generic
      switch/Mode : generic
      Falling test[s]: java/awt/FileDialog/TestFileDialogJNIRef/TestFileDialogJNIRef.java

      The test uses System.exit() call which is not allowed by JavaTest/jtreg security manager, so the test fails
      with a reason 'unexpected exit from test'.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/awt/FileDialog/TestFileDialogJNIRef/TestFileDialogJNIRef.java

      jtr file location:
      ==================
      /net/jtgb4u4c/export/sail15/results.2/tiger/b22/regtest/linux/rh_adv_serv_jcc-itanium-01/workDir/test/java/awt/FileDialog/TestFileDialogJNIRef/TestFileDialogJNIRef.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=/net/koori/onestop/jct-tools/3.1.2/archive/fcs/binaries
      J_HOME=/net/koori/onestop/jdk/1.5.0/promoted/all/b22
      JAVA_HOME=$J_HOME/binaries/linux-i586
      TEST_BASE_PATH=$J_HOME/ws/j2se/test

      #JT_HOME="/net/linux-15/export/home/java/jct"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/cte"

      TESTVMOPTS=""
      CLASSPATH=$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar

      TEST=java/awt/FileDialog/TestFileDialogJNIRef/TestFileDialogJNIRef.java

      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 -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,PATH=/bin:/usr/bin,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US -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/$TEST"
      --- script end ---


      Test output (jtr part):
      =======================
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 0]


      test result: Failed. Unexpected exit from test [exit code: 0]


      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-01
      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: