File Removed
[csql.git] / test / sqlnetwork / Jdbcnetwork / test007.ksh
blobafb0e9eb618e0a298f136b74b09119e7c4feab09
1 #!/bin/sh
2 #Connect with connectstring "jdbc:csql://localhost:5678/csql" and give correct "user" and incorrect "password" in properties object. 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 ConnTest1
11 if [ $? -ne 0 ]
12 then
13 exit 1;
15 exit 0;