*** empty log message ***
[csql.git] / test / sqlnetwork / Jdbcnetwork / test003.ksh
blob5a07fc7d8cfc01b5402ec222a097e284bdfc39ea
1 #!/bin/ksh
2 # Connect only with connect string "jdbc:csql://localhost:5678/csql" and no username and password. It should fail.
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 -Xms256m -Xmx256m ConnTest3
11 if [ $? -ne 0 ]
12 then
13 exit 1;
15 exit 0;