3 #Run this test only under csql/test or on this directory.
4 #Otherwise, it may fail
5 CSQL_CONF
=${PWD}/cache
/Recovery
/csql.conf
6 input
=${PWD}/cache
/Recovery
/create.sql
8 if [ -s "$input" -a -s "$CSQL_CONF" ]
10 REL_PATH
=${PWD}/cache
/Recovery
12 export CSQL_CONFIG_FILE
=$REL_PATH/csql.conf
14 isql myodbc3
< $REL_PATH/create.sql
> /dev
/null
2>&1
21 # edit /tmp/csql/csqltable.conf
22 rm -f /tmp
/csql
/csqltable.conf
27 touch /tmp
/csql
/csqltable.conf
32 for (( a
=1; a
<101; a
++ ))
35 done >> /tmp
/csql
/csqltable.conf
37 $CSQL_INSTALL_ROOT/bin
/csqlserver
-c >/dev
/null
2>&1 &
46 $CSQL_INSTALL_ROOT/bin
/csqldump
53 kill -9 $pid > /dev
/null
2>&1
59 isql myodbc3
< $REL_PATH/dropall.sql
> /dev
/null
2>&1