adding test scripts
[csql.git] / test / sqlnetwork / Jdbcnetwork / test014.ksh
blobc0e2625dd4e117150c89502ee9f21b520fb19f14
1 #!/bin/ksh
2 #Connect with "jdbc:csql://localhost:5678csql" and give correct "user" and "password" in properties object. It should fail
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 ConnTest14
12 if [ $? -ne 0 ]
13 then
14 exit 1;
16 exit 0;