3 #Run this test only under csql/test or on this directory.
4 #Otherwise, it may fail
6 CSQL_CONF
=${PWD}/cache
/Recovery
/csql.conf
10 REL_PATH
=${PWD}/cache
/Recovery
12 export CSQL_CONFIG_FILE
=$REL_PATH/csql.conf
13 cp $CSQL_CONFIG_FILE /tmp
14 echo DSN
=$DSN >> $CSQL_CONFIG_FILE
16 isql
$DSN < $REL_PATH/drop.sql
> /dev
/null
2>&1
17 isql
$DSN < $REL_PATH/createt1.sql
> /dev
/null
2>&1
19 rm -f /tmp
/csql
/csqltable.conf
20 touch /tmp
/csql
/csqltable.conf
21 echo "1:t1 NULL NULL NULL" > /tmp
/csql
/csqltable.conf
27 $CSQL_INSTALL_ROOT/bin
/csqlserver
-c >/dev
/null
2>&1 &
32 mv /tmp
/csql.conf
$CSQL_CONFIG_FILE
33 isql
$DSN < $REL_PATH/drop.sql
> /dev
/null
2>&1
38 mv /tmp
/csql.conf
$CSQL_CONFIG_FILE
40 isql
$DSN < $REL_PATH/drop.sql
> /dev
/null
2>&1