4 # 6.load with definition option. should succeed.
6 #Run this test only under csql/test or on this directory.
7 #Otherwise, it may fail
9 input
=${PWD}/cache
/CacheTable
/inputtest4.sql
13 REL_PATH
=${PWD}/cache
/CacheTable
16 cp $CSQL_CONFIG_FILE /tmp
/csql.conf
17 echo DSN
=$DSN >>$CSQL_CONFIG_FILE
18 isql
$DSN < ${REL_PATH}/inputtest4.sql
>/dev
/null
2>&1
20 rm -f /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
21 touch /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
23 $CSQL_INSTALL_ROOT/bin
/cachetable
-t t1
> /dev
/null
2>&1
29 rm -f /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
30 touch /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
32 isql
$DSN < ${REL_PATH}/drop.sql
>/dev
/null
2>&1
33 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/drop.sql
> /dev
/null
2>&1
34 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE