./test/javax/imageio/stream/StreamCloserLeak/run_test.sh

Print this page
rev 5948 : Fix for JDK-7072120

*** 1,8 **** #!/bin/ksh -p # ! # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. --- 1,8 ---- #!/bin/ksh -p # ! # Copyright (c) 2009, 2010, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 76,105 **** # Checking for proper OS OS=`uname -s` case "$OS" in SunOS ) VAR="One value for Sun" ! DEFAULT_JDK=/usr/local/java/jdk1.2/solaris FILESEP="/" PATHSEP=":" TMP="/tmp" ;; ! Linux | Darwin ) VAR="A different value for Linux" ! DEFAULT_JDK=/usr/local/java/jdk1.4/linux-i386 FILESEP="/" PATHSEP=":" TMP="/tmp" ;; ! Windows_95 | Windows_98 | Windows_NT | Windows_ME | CYGWIN* ) VAR="A different value for Win32" ! DEFAULT_JDK=/usr/local/java/jdk1.2/win32 FILESEP="\\" PATHSEP=";" TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}` ;; # catch all other OSs * ) echo "Unrecognized system! $OS" --- 76,121 ---- # Checking for proper OS OS=`uname -s` case "$OS" in SunOS ) VAR="One value for Sun" ! DEFAULT_JDK=/ FILESEP="/" PATHSEP=":" TMP="/tmp" ;; ! Linux ) VAR="A different value for Linux" ! DEFAULT_JDK=/ FILESEP="/" PATHSEP=":" TMP="/tmp" ;; ! Darwin ) ! VAR="A different value for MacOSX" ! DEFAULT_JDK=/usr ! FILESEP="/" ! PATHSEP=":" ! TMP="/tmp" ! ;; ! ! Windows* ) VAR="A different value for Win32" ! DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0" FILESEP="\\" PATHSEP=";" TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}` + ;; + + CYGWIN* ) + VAR="A different value for Cygwin" + DEFAULT_JDK="/cygdrive/c/Program\ Files/Java/jdk1.8.0" + FILESEP="/" + PATHSEP=";" + TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}` ;; # catch all other OSs * ) echo "Unrecognized system! $OS"