File Removed
[csql.git] / test / tools / csql / test043.ksh
blobb959104debee8501e90e38e06e8b9fa704ae4835
1 #!/bin/sh
2 # TEST CASE
3 # 1. create table t1 (f1 int not null, f2 int);
4 # 2. create index idx on t1 (f1) tree
5 # 3. insert duplicate records and it should pass
7 QUITFILE=${PWD}/tools/csql/quit.sql
8 REL_PATH=.
9 if [ -s "$QUITFILE" ]
10 then
11 REL_PATH=`pwd`/tools/csql
13 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/tree0.sql
14 if [ $? -ne 0 ]
15 then
16 exit 1;
18 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
19 if [ $? -ne 0 ]
20 then
21 exit 2;
23 exit 0;