code reorg
[csql.git] / test / sql / Aggregate / test012.ksh
blob6618c413a9c8d972f080967871151018766a1e51
1 #!/bin/ksh
2 # Testing Group By on Multiple fields
4 QUITFILE=${PWD}/sql/Aggregate/quit.sql
5 REL_PATH=.
6 if [ -s "$QUITFILE" ]
7 then
8 REL_PATH=`pwd`/sql/Aggregate
9 fi
11 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/groupby1.sql
12 if [ $? -ne 0 ]
13 then
14 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropt1.sql
15 exit 1;
18 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropt1.sql
19 if [ $? -ne 0 ]
20 then
21 exit 3;
24 exit 0;