4 # 3.create table, load with no definition option. should succeed and csqldump should display the records.
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
19 $CSQL_INSTALL_ROOT/bin
/csql
-s $REL_PATH/csqlinput.sql
> /dev
/null
2>&1
22 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE
26 rm -f /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
27 touch /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
29 $CSQL_INSTALL_ROOT/bin
/cachetable
-t t1
-s > /dev
/null
2>&1
32 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE
36 rm -f /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
37 touch /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
39 $CSQL_INSTALL_ROOT/bin
/csqldump
42 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE
45 $CSQL_INSTALL_ROOT/bin
/csql
-s ${REL_PATH}/drop.sql
> /dev
/null
2>&1
46 isql
$DSN < ${REL_PATH}/drop.sql
>/dev
/null
2>&1
47 rm -f /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
48 touch /tmp
/csql
/csqltable.conf
/tmp
/csql
/csql.db
49 cp /tmp
/csql.conf
$CSQL_CONFIG_FILE