adding test scripts
[csql.git] / test / sqlnetwork / Jdbcnetwork / test020.ksh
blobc12ad0b2df5c81bf5f26574d960eeaf4d2f7ae7e
1 #!/bin/ksh
2 #Open the connection and then call isClosed(). It should return false.
3 #Close the connection and then call isClosed(). It should return true.
4 TESTFILE=${PWD}/jdbc/Connection/ConnTest1.java
5 REL_PATH=.
6 if [ -s "$TESTFILE" ]
7 then
8 REL_PATH=`pwd`/jdbc/Connection
9 fi
10 export CLASSPATH=$CLASSPATH:${REL_PATH}
11 java ConnTest20
12 if [ $? -ne 0 ]
13 then
14 exit 1;
16 exit 0;