52 Windows* | CYGWIN* ) 53 54 # 55 # Workaround for 6449799 56 # 57 if [ "${SystemDrive}" = "" ]; then 58 SystemRoot="`dosname "${SystemRoot}"`" 59 export SystemRoot 60 SystemDrive="`echo ${SystemRoot} | cut -d'/' -f1`" 61 export SystemDrive 62 fi 63 64 # 'uname -m' does not give us enough information - 65 # should rely on $PROCESSOR_IDENTIFIER (as is done in 66 # Defs-windows.gmk), but JTREG does not pass this env variable 67 # when executing a shell script. 68 # 69 # execute test program - rely on it to exit if platform 70 # unsupported 71 72 ${TESTJAVA}/bin/javac -d . ${TESTSRC}\\RSAEncryptDecrypt.java 73 ${TESTJAVA}/bin/java ${TESTVMOPTS} RSAEncryptDecrypt 74 exit 75 ;; 76 77 * ) 78 echo "This test is not intended for '$OS' - passing test" 79 exit 0 80 ;; 81 esac 82 | 52 Windows* | CYGWIN* ) 53 54 # 55 # Workaround for 6449799 56 # 57 if [ "${SystemDrive}" = "" ]; then 58 SystemRoot="`dosname "${SystemRoot}"`" 59 export SystemRoot 60 SystemDrive="`echo ${SystemRoot} | cut -d'/' -f1`" 61 export SystemDrive 62 fi 63 64 # 'uname -m' does not give us enough information - 65 # should rely on $PROCESSOR_IDENTIFIER (as is done in 66 # Defs-windows.gmk), but JTREG does not pass this env variable 67 # when executing a shell script. 68 # 69 # execute test program - rely on it to exit if platform 70 # unsupported 71 72 ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d . ${TESTSRC}\\RSAEncryptDecrypt.java 73 ${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} RSAEncryptDecrypt 74 exit 75 ;; 76 77 * ) 78 echo "This test is not intended for '$OS' - passing test" 79 exit 0 80 ;; 81 esac 82 |