*** empty log message ***
[csql.git] / test / sqlnetwork / Jdbcnetwork / test001.ksh
blobb79ffe1a2b5b65be13986a8acf7db901d878762d
1 #!/bin/ksh
2 #Connect with connect string "jdbc:csql:lllocalhost:5678/csql" and give correct "user" and "password" in properties object. It should pass.
3 TESTFILE=${PWD}/jdbc/Connection/ConnTest1.java
4 REL_PATH=.
5 if [ -s "$TESTFILE" ]
6 then
7 REL_PATH=`pwd`/jdbc/Connection
8 fi
9 export CLASSPATH=$CLASSPATH:${REL_PATH}
10 java ConnTest1
11 if [ $? -ne 0 ]
12 then
13 exit 1;
15 exit 0;