test/javax/imageio/metadata/IIOMetadataFormat/runMetadataFormatTest.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


  72  { echo "The test passed!!!"
  73    echo "$*" 1>&2
  74    exit 0
  75  } #end of pass()
  76 
  77 # end of subroutines
  78 
  79 
  80 # The beginning of the script proper
  81 
  82 # Checking for proper OS
  83 OS=`uname -s`
  84 case "$OS" in
  85    SunOS )
  86       VAR="One value for Sun"
  87       DEFAULT_JDK=/none
  88       #DEFAULT_JDK=/usr/local/java/jdk1.2/solaris
  89       FILESEP="/"
  90       ;;
  91 
  92    Linux | Darwin  )
  93       VAR="A different value for Linux"
  94       DEFAULT_JDK=/none
  95       #DEFAULT_JDK=/usr/local/java/jdk1.4/linux-i386
  96       FILESEP="/"
  97       ;;
  98 
  99    Windows_95 | Windows_98 | Windows_NT | Windows_ME )
 100       VAR="A different value for Win32"
 101       DEFAULT_JDK=/none
 102       #DEFAULT_JDK=/usr/local/java/jdk1.2/win32
 103       FILESEP="\\"
 104       ;;
 105 
 106     CYGWIN* )
 107       VAR="A different value for CYGWIN"
 108       DEFAULT_JDK=/none
 109       FILESEP="/"
 110       ;;
 111 
 112    # catch all other OSs




  72  { echo "The test passed!!!"
  73    echo "$*" 1>&2
  74    exit 0
  75  } #end of pass()
  76 
  77 # end of subroutines
  78 
  79 
  80 # The beginning of the script proper
  81 
  82 # Checking for proper OS
  83 OS=`uname -s`
  84 case "$OS" in
  85    SunOS )
  86       VAR="One value for Sun"
  87       DEFAULT_JDK=/none
  88       #DEFAULT_JDK=/usr/local/java/jdk1.2/solaris
  89       FILESEP="/"
  90       ;;
  91 
  92    Linux | Darwin | AIX )
  93       VAR="A different value for Linux"
  94       DEFAULT_JDK=/none
  95       #DEFAULT_JDK=/usr/local/java/jdk1.4/linux-i386
  96       FILESEP="/"
  97       ;;
  98 
  99    Windows_95 | Windows_98 | Windows_NT | Windows_ME )
 100       VAR="A different value for Win32"
 101       DEFAULT_JDK=/none
 102       #DEFAULT_JDK=/usr/local/java/jdk1.2/win32
 103       FILESEP="\\"
 104       ;;
 105 
 106     CYGWIN* )
 107       VAR="A different value for CYGWIN"
 108       DEFAULT_JDK=/none
 109       FILESEP="/"
 110       ;;
 111 
 112    # catch all other OSs