lock manager and chunk allocation mutex modificationsw
[csql.git] / test / jdbc / Gateway / test010.ksh
blobee8f924861d5c2bd220c12bebe0d57e00b50783f
1 #!/bin/ksh
2 TESTFILE=${PWD}/jdbc/Gateway/ConnTest01.java
3 REL_PATH=.
4 if [ -s "$TESTFILE" ]
5 then
6 REL_PATH=`pwd`/jdbc/Gateway
7 fi
8 export CLASSPATH=$CLASSPATH:${REL_PATH}
9 cp $CSQL_CONFIG_FILE /tmp/csql.conf
10 export CSQL_CONFIG_FILE=/tmp/csql.conf
11 echo DSN=$DSN >>$CSQL_CONFIG_FILE
12 DS="$DSN $DBUSER $PASSWORD"
13 rm -f /tmp/csql/csqlds.conf
14 touch /tmp/csql/csqlds.conf
15 $CSQL_INSTALL_ROOT/bin/csqlds -U $DBUSER -P $PASSWORD -D $DSN -N $TDB -a
16 if [ $? -ne 0 ]
17 then
18 exit 1;
21 java ConnTest10
22 if [ $? -ne 0 ]
23 then
24 exit 1;
26 exit 0;