17 then
18 echo "TESTJAVA not set. Test cannot execute. Failed."
19 exit 1
20 fi
21 echo "TESTJAVA=${TESTJAVA}"
22 if [ "${TESTCLASSES}" = "" ]
23 then
24 echo "TESTCLASSES not set. Test cannot execute. Failed."
25 exit 1
26 fi
27 echo "TESTCLASSES=${TESTCLASSES}"
28 echo "CLASSPATH=${CLASSPATH}"
29
30 # set platform-dependent variables
31 OS=`uname -s`
32 case "$OS" in
33 SunOS | Linux )
34 PS=":"
35 FS="/"
36 ;;
37 Windows* )
38 PS=";"
39 FS="\\"
40 ;;
41 * )
42 echo "Unrecognized system!"
43 exit 1;
44 ;;
45 esac
46
47 # Currency dump path #1. Just dump currencies with the bare JRE
48
49 # run
50 RUNCMD="${TESTJAVA}${FS}bin${FS}java -classpath ${TESTCLASSES} PropertiesTest -d dump1"
51
52 echo ${RUNCMD}
53 ${RUNCMD}
54 result=$?
55
56 if [ $result -eq 0 ]
57 then
|
17 then
18 echo "TESTJAVA not set. Test cannot execute. Failed."
19 exit 1
20 fi
21 echo "TESTJAVA=${TESTJAVA}"
22 if [ "${TESTCLASSES}" = "" ]
23 then
24 echo "TESTCLASSES not set. Test cannot execute. Failed."
25 exit 1
26 fi
27 echo "TESTCLASSES=${TESTCLASSES}"
28 echo "CLASSPATH=${CLASSPATH}"
29
30 # set platform-dependent variables
31 OS=`uname -s`
32 case "$OS" in
33 SunOS | Linux )
34 PS=":"
35 FS="/"
36 ;;
37 Windows* | CYGWIN* )
38 PS=";"
39 FS="\\"
40 ;;
41 * )
42 echo "Unrecognized system!"
43 exit 1;
44 ;;
45 esac
46
47 # Currency dump path #1. Just dump currencies with the bare JRE
48
49 # run
50 RUNCMD="${TESTJAVA}${FS}bin${FS}java -classpath ${TESTCLASSES} PropertiesTest -d dump1"
51
52 echo ${RUNCMD}
53 ${RUNCMD}
54 result=$?
55
56 if [ $result -eq 0 ]
57 then
|