< prev index next >

test/jdk/javax/imageio/spi/AppletContextTest/BadPluginConfigurationTest.sh

Print this page
rev 48460 : 8194869: [TESTBUG][aix, s390] Adapt tests to platforms.
Reviewed-by: mbaesken, simonis

*** 84,95 **** # The beginning of the script proper # Checking for proper OS OS=`uname -s` case "$OS" in ! SunOS | Linux | Darwin ) FILESEP="/" PATHSEP=":" TMP=`cd /tmp; pwd -P` ;; --- 84,111 ---- # The beginning of the script proper # Checking for proper OS OS=`uname -s` + MKTEMP="mktemp" case "$OS" in ! AIX ) ! FILESEP="/" ! PATHSEP=":" ! TMP=`cd /tmp; pwd -P` ! ! type ${MKTEMP} > /dev/null 2>&1 ! ! if ! [ $? -ne 0 ] ; then ! MKTEMP="/opt/freeware/bin/mktemp" ! fi ! if ! [ -e ${MKTEMP} ] ; then ! pass "Test skipped because no mktemp found on this machine" ! fi ! ;; ! ! Darwin | Linux | SunOS ) FILESEP="/" PATHSEP=":" TMP=`cd /tmp; pwd -P` ;;
*** 178,188 **** # note that we can not use some subdirectory of the # scratch dir as the plugin dst dir because the test # app have file read permission for all subdirs of the # scratch dir ! PLUGINDST_DIR=$(mktemp -d ${TMP}/iio_test.XXXXXXXX) echo "Created PLUGINDST_DIR as ${PLUGINDST_DIR}" TEST_PLUGIN=dummy.jar # remove old service declaration --- 194,204 ---- # note that we can not use some subdirectory of the # scratch dir as the plugin dst dir because the test # app have file read permission for all subdirs of the # scratch dir ! PLUGINDST_DIR=$(${MKTEMP} -d ${TMP}/iio_test.XXXXXXXX) echo "Created PLUGINDST_DIR as ${PLUGINDST_DIR}" TEST_PLUGIN=dummy.jar # remove old service declaration
< prev index next >