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

TEST_BUG: Regtest-test .../SecretKeyKS.sh does not recognize Linux

XMLWordPrintable

    • mantis
    • x86
    • linux
    • Verified



      Name: asR10013 Date: 09/24/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b02
      Testbase : RegTest-test
      Platform[s] : RedHat Linux 7.2 (GNOME)
      Falling test[s]:
          sun/security/tools/keytool/SecretKeyKS.sh

      The Regtest-test test sun/security/tools/keytool/SecretKeyKS.sh fails on Linux.
      This happens because the test does not recognize Linux as a valid system (from SecretKeyKS.sh):

      * )
      echo "Unrecognized system!"
      exit 1;

      The test should pass on such systems as many other tests do.

      The test is first used for testing for JDK1.4.2-b02.

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b02/regtest/linux/redhat7.2_gnome_smp__linux-24/workDir/test/sun/security/tools/keytool/SecretKeyKS.jtr

      How to reproduce:
      =================
      Run the following script on a Linux system in the
      directory to which you have full access rights.
      (you may need to change variables).
       
      --- script start ---

      #!/bin/bash

      export TESTJAVA=/net/linux-15/export/home/java/jdk1.4.2/linux

      TEST_BASE=/net/linux-15/export/home/java/regtest

      TEST_BASE_ROOT=$TEST_BASE/test
      TEST_PACKAGE=sun/security/tools/keytool

      TEST_SHORT_NAME=SecretKeyKS.sh
      TEST_NAME=$TEST_PACKAGE/$TEST_SHORT_NAME

      cp $TEST_BASE_ROOT/$TEST_NAME .
      chmod 775 ./$TEST_SHORT_NAME

      ./$TEST_SHORT_NAME


      --- script end ---


      Test output:
      ============

      Unrecognized system!



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

            valeriep Valerie Peng
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: