69 #
70 ${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
71 ${TESTSRC}${FILESEP}NotifyHandshakeTest.java \
72 ${TESTSRC}${FILESEP}NotifyHandshakeTestHeyYou.java
73 ${COMPILEJAVA}${FILESEP}bin${FILESEP}jar ${TESTTOOLVMOPTS} -cvf com.jar \
74 com${FILESEP}NotifyHandshakeTest*.class
75 ${COMPILEJAVA}${FILESEP}bin${FILESEP}jar ${TESTTOOLVMOPTS} -cvf edu.jar \
76 edu${FILESEP}NotifyHandshakeTestHeyYou.class
77
78 #
79 # Don't want the original class files to be used, because
80 # we want the jar files with the associated contexts to
81 # be used.
82 #
83 rm -rf com edu
84
85 #
86 # This is the only thing we really care about as far as
87 # test status goes.
88 #
89 ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} \
90 -Dtest.src=${TESTSRC} \
91 -classpath "com.jar${PATHSEP}edu.jar" \
92 -Djava.security.manager \
93 -Djava.security.policy=${TESTSRC}${FILESEP}NotifyHandshakeTest.policy \
94 com.NotifyHandshakeTest
95 retval=$?
96
97 rm com.jar edu.jar
98
99 exit $retval
|
69 #
70 ${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} -d . \
71 ${TESTSRC}${FILESEP}NotifyHandshakeTest.java \
72 ${TESTSRC}${FILESEP}NotifyHandshakeTestHeyYou.java
73 ${COMPILEJAVA}${FILESEP}bin${FILESEP}jar ${TESTTOOLVMOPTS} -cvf com.jar \
74 com${FILESEP}NotifyHandshakeTest*.class
75 ${COMPILEJAVA}${FILESEP}bin${FILESEP}jar ${TESTTOOLVMOPTS} -cvf edu.jar \
76 edu${FILESEP}NotifyHandshakeTestHeyYou.class
77
78 #
79 # Don't want the original class files to be used, because
80 # we want the jar files with the associated contexts to
81 # be used.
82 #
83 rm -rf com edu
84
85 #
86 # This is the only thing we really care about as far as
87 # test status goes.
88 #
89 ${TESTJAVA}${FILESEP}bin${FILESEP}java ${TESTVMOPTS} ${TESTJAVAOPTS} \
90 -Dtest.src=${TESTSRC} \
91 -classpath "com.jar${PATHSEP}edu.jar" \
92 -Djava.security.manager \
93 -Djava.security.policy=${TESTSRC}${FILESEP}NotifyHandshakeTest.policy \
94 com.NotifyHandshakeTest
95 retval=$?
96
97 rm com.jar edu.jar
98
99 exit $retval
|