29
30 # set a few environment variables so that the shell-script can run stand-alone
31 # in the source directory
32 if [ "${TESTSRC}" = "" ] ; then
33 TESTSRC="."
34 fi
35
36 if [ "${TESTCLASSES}" = "" ] ; then
37 TESTCLASSES="."
38 fi
39
40 if [ "${TESTJAVA}" = "" ] ; then
41 echo "TESTJAVA not set. Test cannot execute."
42 echo "FAILED!!!"
43 exit 1
44 fi
45
46 # set platform-dependent variables
47 OS=`uname -s`
48 case "$OS" in
49 SunOS )
50 PATHSEP=":"
51 FILESEP="/"
52 ;;
53 Linux )
54 PATHSEP=":"
55 FILESEP="/"
56 ;;
57 Darwin )
58 PATHSEP=":"
59 FILESEP="/"
60 ;;
61 CYGWIN* )
62 PATHSEP=";"
63 FILESEP="/"
64 ;;
65 Windows* )
66 PATHSEP=";"
67 FILESEP="\\"
68 ;;
69 * )
70 echo "Unrecognized system!"
71 exit 1;
72 ;;
73 esac
74
75 PBE_ALGORITHMS="\
76 default-PBE-algorithm \
77 PBEWithMD5AndDES \
|
29
30 # set a few environment variables so that the shell-script can run stand-alone
31 # in the source directory
32 if [ "${TESTSRC}" = "" ] ; then
33 TESTSRC="."
34 fi
35
36 if [ "${TESTCLASSES}" = "" ] ; then
37 TESTCLASSES="."
38 fi
39
40 if [ "${TESTJAVA}" = "" ] ; then
41 echo "TESTJAVA not set. Test cannot execute."
42 echo "FAILED!!!"
43 exit 1
44 fi
45
46 # set platform-dependent variables
47 OS=`uname -s`
48 case "$OS" in
49 SunOS | Linux | Darwin | AIX)
50 PATHSEP=":"
51 FILESEP="/"
52 ;;
53 CYGWIN* )
54 PATHSEP=";"
55 FILESEP="/"
56 ;;
57 Windows* )
58 PATHSEP=";"
59 FILESEP="\\"
60 ;;
61 * )
62 echo "Unrecognized system!"
63 exit 1;
64 ;;
65 esac
66
67 PBE_ALGORITHMS="\
68 default-PBE-algorithm \
69 PBEWithMD5AndDES \
|