The expected file was wrong earlier
[csql.git] / test / tools / csql / test059.ksh
blob19d9820cf1e3065d7376e16df8cb2c50e3705893
1 #!/bin/sh
2 #Test case
3 #create table t1(f1 int not null,f2 int,f3 int);
4 #a) create hash primary index on the first field.
5 #b) create tree primary index on the same field.
6 #It should be passed
8 QUITFILE=${PWD}/tools/csql/quit.sql
9 REL_PATH=.
10 if [ -s "$QUITFILE" ]
11 then
12 REL_PATH=`pwd`/tools/csql
15 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/tree14.sql
16 if [ $? -ne 0 ]
17 then
18 exit 1;
20 $CSQL_INSTALL_ROOT/bin/csqldump -T t1
21 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
22 if [ $? -ne 0 ]
23 then
24 exit 1;