The expected file was wrong earlier
[csql.git] / test / tools / csql / test048.ksh
blob696b9cdab69945b752f2495ca27eb6ccd40192b4
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 #checking Select statement with condition on 0 or less than 0 on index field
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}/tree5.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;