adding test scripts
[csql.git] / test / jdbc / Statement / test013.ksh
blob68663d0fb48104cc437f4b5bb8697e301fff7721
1 #!/bin/ksh
2 # ExecuteUpdate for SELECT statement it should not return resultset throw exception
3 # TestScript4.java
5 TESTFILE=${PWD}/jdbc/Statement/StmtTest1.java
6 REL_PATH=.
7 if [ -s "$TESTFILE" ]
8 then
9 REL_PATH=`pwd`/jdbc/Statement
11 export CLASSPATH=$CLASSPATH:${REL_PATH}
12 java TestScript4
13 if [ $? -ne 0 ]
14 then
15 echo "Drop table T1;"| $CSQL_INSTALL_ROOT/bin/csql
16 exit 1;
18 echo "Drop table T1;"| $CSQL_INSTALL_ROOT/bin/csql
19 exit 0;