< prev index next >

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

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

*** 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,108 ---- # 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` ! if ! [ -e ${MKTEMP} ] ; 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 --- 191,201 ---- # 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 >