44 echo "TESTJAVA not set. Test cannot execute." 45 echo "FAILED!!!" 46 exit 1 47 fi 48 49 OS=`uname -s` 50 case "$OS" in 51 Windows* | CYGWIN* ) 52 53 echo "Creating a temporary RSA keypair in the Windows-My store..." 54 ${TESTJAVA}/bin/keytool \ 55 -genkeypair \ 56 -storetype Windows-My \ 57 -keyalg RSA \ 58 -alias 6888925 \ 59 -dname "cn=6888925,c=US" \ 60 -noprompt 61 62 echo 63 echo "Running the test..." 64 ${TESTJAVA}/bin/javac -d . ${TESTSRC}\\PublicKeyInterop.java 65 ${TESTJAVA}/bin/java ${TESTVMOPTS} PublicKeyInterop 66 67 rc=$? 68 69 echo 70 echo "Removing the temporary RSA keypair from the Windows-My store..." 71 ${TESTJAVA}/bin/keytool \ 72 -delete \ 73 -storetype Windows-My \ 74 -alias 6888925 75 76 echo done. 77 exit $rc 78 ;; 79 80 * ) 81 echo "This test is not intended for '$OS' - passing test" 82 exit 0 83 ;; 84 esac | 44 echo "TESTJAVA not set. Test cannot execute." 45 echo "FAILED!!!" 46 exit 1 47 fi 48 49 OS=`uname -s` 50 case "$OS" in 51 Windows* | CYGWIN* ) 52 53 echo "Creating a temporary RSA keypair in the Windows-My store..." 54 ${TESTJAVA}/bin/keytool \ 55 -genkeypair \ 56 -storetype Windows-My \ 57 -keyalg RSA \ 58 -alias 6888925 \ 59 -dname "cn=6888925,c=US" \ 60 -noprompt 61 62 echo 63 echo "Running the test..." 64 ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d . ${TESTSRC}\\PublicKeyInterop.java 65 ${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} PublicKeyInterop 66 67 rc=$? 68 69 echo 70 echo "Removing the temporary RSA keypair from the Windows-My store..." 71 ${TESTJAVA}/bin/keytool \ 72 -delete \ 73 -storetype Windows-My \ 74 -alias 6888925 75 76 echo done. 77 exit $rc 78 ;; 79 80 * ) 81 echo "This test is not intended for '$OS' - passing test" 82 exit 0 83 ;; 84 esac |