adding test scripts
[csql.git] / test / sqlnetwork / Jdbcnetwork / test012.ksh
blobd3fec3d85f4546766aebc9b74a5bf908f12d94c4
1 #!/bin/ksh
2 #Connect with "jdbc:csql://local/host:5678/csql" 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 ConnTest12
12 if [ $? -ne 0 ]
13 then
14 exit 1;
16 exit 0;