test/sun/tools/common/CommonSetup.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
*** 46,55 ****
--- 46,56 ----
# isMKS - true if environment is MKS
# isLinux - true if OS is Linux
# isSolaris - true if OS is Solaris
# isWindows - true if OS is Windows
# isMacos - true if OS is Macos X
+ # isAIX - true if OS is AIX
if [ -z "${TESTJAVA}" ]; then
echo "ERROR: TESTJAVA not set. Test cannot execute. Failed."
exit 1
*** 81,90 ****
--- 82,92 ----
isLinux=false
isSolaris=false
isUnknownOS=false
isWindows=false
isMacos=false
+ isAIX=false
OS=`uname -s`
# start with some UNIX like defaults
PATTERN_EOL='$'
*** 111,120 ****
--- 113,126 ----
;;
SunOS )
OS="Solaris"
isSolaris=true
;;
+ AIX )
+ OS="AIX"
+ isAIX=true
+ ;;
Windows* )
OS="Windows"
PATTERN_EOL='[
]*$'
PS=";"
isWindows=true