comparison test/javax/imageio/stream/StreamCloserLeak/run_test.sh @ 5518:37fe00ff4f40

7072120: No mac os x support in several regression tests Reviewed-by: anthony, serb
author kshefov
date Fri, 30 Nov 2012 15:21:53 +0000
parents 12819477ce5a
children
comparison
equal deleted inserted replaced
4:ec07e798a866 5:f1c03a34ea5b
1 #!/bin/ksh -p 1 #!/bin/ksh -p
2 # 2 #
3 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 3 # Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # 5 #
6 # This code is free software; you can redistribute it and/or modify it 6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as 7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
76 # Checking for proper OS 76 # Checking for proper OS
77 OS=`uname -s` 77 OS=`uname -s`
78 case "$OS" in 78 case "$OS" in
79 SunOS ) 79 SunOS )
80 VAR="One value for Sun" 80 VAR="One value for Sun"
81 DEFAULT_JDK=/usr/local/java/jdk1.2/solaris 81 DEFAULT_JDK=/
82 FILESEP="/" 82 FILESEP="/"
83 PATHSEP=":" 83 PATHSEP=":"
84 TMP="/tmp" 84 TMP="/tmp"
85 ;; 85 ;;
86 86
87 Linux | Darwin ) 87 Linux )
88 VAR="A different value for Linux" 88 VAR="A different value for Linux"
89 DEFAULT_JDK=/usr/local/java/jdk1.4/linux-i386 89 DEFAULT_JDK=/
90 FILESEP="/" 90 FILESEP="/"
91 PATHSEP=":" 91 PATHSEP=":"
92 TMP="/tmp" 92 TMP="/tmp"
93 ;; 93 ;;
94 94
95 Windows_95 | Windows_98 | Windows_NT | Windows_ME | CYGWIN* ) 95 Darwin )
96 VAR="A different value for MacOSX"
97 DEFAULT_JDK=/usr
98 FILESEP="/"
99 PATHSEP=":"
100 TMP="/tmp"
101 ;;
102
103 Windows* )
96 VAR="A different value for Win32" 104 VAR="A different value for Win32"
97 DEFAULT_JDK=/usr/local/java/jdk1.2/win32 105 DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0"
98 FILESEP="\\" 106 FILESEP="\\"
107 PATHSEP=";"
108 TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
109 ;;
110
111 CYGWIN* )
112 VAR="A different value for Cygwin"
113 DEFAULT_JDK="/cygdrive/c/Program\ Files/Java/jdk1.8.0"
114 FILESEP="/"
99 PATHSEP=";" 115 PATHSEP=";"
100 TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}` 116 TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
101 ;; 117 ;;
102 118
103 # catch all other OSs 119 # catch all other OSs