test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh

Print this page
rev 8975 : 8028537: PPC64: Updated the JDK regression tests to run on AIX
Reviewed-by: alanb
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, volker.simonis@gmail.com


 118       PATHSEP=":"
 119       TMP="/tmp"
 120       ;;
 121 
 122    Windows* )
 123       VAR="A different value for Win32"
 124       DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0"
 125       FILESEP="\\"
 126       PATHSEP=";"
 127       TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
 128       ;;
 129 
 130     CYGWIN* )
 131       VAR="A different value for Cygwin"
 132       DEFAULT_JDK="/cygdrive/c/Program\ Files/Java/jdk1.8.0"
 133       FILESEP="/"
 134       PATHSEP=";"
 135       TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
 136       ;;
 137 








 138    # catch all other OSs
 139    * )
 140       echo "Unrecognized system!  $OS"
 141       fail "Unrecognized system!  $OS"
 142       ;;
 143 esac
 144 
 145 # 6438730: Only a minimal set of env variables are set for shell tests.
 146 # To guarantee that env variable holds correct value we need to set it ourselves.
 147 if [ -z "${PWD}" ] ; then
 148     PWD=`pwd`
 149 fi
 150 
 151 # check that some executable or other file you need is available, abort if not
 152 #  note that the name of the executable is in the fail string as well.
 153 # this is how to check for presence of the compiler, etc.
 154 #RESOURCE=`whence SomeProgramOrFileNeeded`
 155 #if [ "${RESOURCE}" = "" ] ;
 156 #   then fail "Need SomeProgramOrFileNeeded to perform the test" ;
 157 #fi




 118       PATHSEP=":"
 119       TMP="/tmp"
 120       ;;
 121 
 122    Windows* )
 123       VAR="A different value for Win32"
 124       DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0"
 125       FILESEP="\\"
 126       PATHSEP=";"
 127       TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
 128       ;;
 129 
 130     CYGWIN* )
 131       VAR="A different value for Cygwin"
 132       DEFAULT_JDK="/cygdrive/c/Program\ Files/Java/jdk1.8.0"
 133       FILESEP="/"
 134       PATHSEP=";"
 135       TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
 136       ;;
 137 
 138     AIX )
 139       VAR="A different value for AIX"
 140       DEFAULT_JDK=/
 141       FILESEP="/"
 142       PATHSEP=":"
 143       TMP="/tmp"
 144       ;;
 145 
 146    # catch all other OSs
 147    * )
 148       echo "Unrecognized system!  $OS"
 149       fail "Unrecognized system!  $OS"
 150       ;;
 151 esac
 152 
 153 # 6438730: Only a minimal set of env variables are set for shell tests.
 154 # To guarantee that env variable holds correct value we need to set it ourselves.
 155 if [ -z "${PWD}" ] ; then
 156     PWD=`pwd`
 157 fi
 158 
 159 # check that some executable or other file you need is available, abort if not
 160 #  note that the name of the executable is in the fail string as well.
 161 # this is how to check for presence of the compiler, etc.
 162 #RESOURCE=`whence SomeProgramOrFileNeeded`
 163 #if [ "${RESOURCE}" = "" ] ;
 164 #   then fail "Need SomeProgramOrFileNeeded to perform the test" ;
 165 #fi