test/runtime/6929067/Test6929067.sh
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_full Sdiff test/runtime/6929067

test/runtime/6929067/Test6929067.sh

Print this page
rev 2695 : shared changes


  12 fi
  13 
  14 if [ "${TESTJAVA}" = "" ]
  15 then
  16   PARENT=`dirname \`which java\``
  17   TESTJAVA=`dirname ${PARENT}`
  18   echo "TESTJAVA not set, selecting " ${TESTJAVA}
  19   echo "If this is incorrect, try setting the variable manually."
  20 fi
  21 
  22 BIT_FLAG=""
  23 
  24 # set platform-dependent variables
  25 OS=`uname -s`
  26 case "$OS" in
  27   Linux)
  28     NULL=/dev/null
  29     PS=":"
  30     FS="/"
  31     ;;
  32   SunOS | Windows_* )
  33     NULL=NUL
  34     PS=";"
  35     FS="\\"
  36     echo "Test passed; only valid for Linux"
  37     exit 0;
  38     ;;
  39   * )
  40     echo "Unrecognized system!"
  41     exit 1;
  42     ;;
  43 esac
  44 
  45 LD_LIBRARY_PATH=.:${TESTJAVA}/jre/lib/i386/client:/usr/openwin/lib:/usr/dt/lib:/usr/lib:$LD_LIBRARY_PATH
  46 export LD_LIBRARY_PATH
  47 
  48 THIS_DIR=`pwd`
  49 
  50 cp ${TESTSRC}${FS}invoke.c ${THIS_DIR}
  51 cp ${TESTSRC}${FS}T.java ${THIS_DIR}
  52 


  12 fi
  13 
  14 if [ "${TESTJAVA}" = "" ]
  15 then
  16   PARENT=`dirname \`which java\``
  17   TESTJAVA=`dirname ${PARENT}`
  18   echo "TESTJAVA not set, selecting " ${TESTJAVA}
  19   echo "If this is incorrect, try setting the variable manually."
  20 fi
  21 
  22 BIT_FLAG=""
  23 
  24 # set platform-dependent variables
  25 OS=`uname -s`
  26 case "$OS" in
  27   Linux)
  28     NULL=/dev/null
  29     PS=":"
  30     FS="/"
  31     ;;
  32   SunOS | Windows_* | *BSD)
  33     NULL=NUL
  34     PS=";"
  35     FS="\\"
  36     echo "Test passed; only valid for Linux"
  37     exit 0;
  38     ;;
  39   * )
  40     echo "Unrecognized system!"
  41     exit 1;
  42     ;;
  43 esac
  44 
  45 LD_LIBRARY_PATH=.:${TESTJAVA}/jre/lib/i386/client:/usr/openwin/lib:/usr/dt/lib:/usr/lib:$LD_LIBRARY_PATH
  46 export LD_LIBRARY_PATH
  47 
  48 THIS_DIR=`pwd`
  49 
  50 cp ${TESTSRC}${FS}invoke.c ${THIS_DIR}
  51 cp ${TESTSRC}${FS}T.java ${THIS_DIR}
  52 
test/runtime/6929067/Test6929067.sh
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File