File Removed
[csql.git] / test / jdbc / Gateway / test047.ksh
blobe0a42732f275b333b7dc8cf8147501d764993f1a
1 #!/bin/sh
2 # Donot Start CSQL Server
3 # Open the connection through jdbc:gateway and then call isClosed(). It should return false.
4 # Close the connection jdbc:gateway and then call isClosed(). It should return true
6 # GwTest7.java
8 TESTFILE=${PWD}/jdbc/Gateway/GwTest1.java
9 REL_PATH=.
10 if [ -s "$TESTFILE" ]
11 then
12 REL_PATH=`pwd`/jdbc/Gateway
14 export CLASSPATH=$CLASSPATH:${REL_PATH}
15 export CSQL_CONFIG_FILE=$REL_PATH/csql.conf
16 java GwTest7
17 if [ $? -ne 0 ]
18 then
19 exit 1;
23 exit 0;