*** empty log message ***
[csql.git] / test / tools / csql / test129.ksh
blobab35da4d921ceb4c8c8e7c8c99497b11bd0d05ca
1 #!/bin/ksh
2 # Testing all aggregate functions for all data types
3 # Same is present at testnw027.ksh (with network)
5 QUITFILE=${PWD}/tools/csql/quit.sql
6 REL_PATH=.
7 if [ -s "$QUITFILE" ]
8 then
9 REL_PATH=`pwd`/tools/csql
11 echo "drop table t1;" > ${REL_PATH}/dropp_t1.sql
13 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/aggregate_all_datatype.sql
14 if [ $? -ne 0 ]
15 then
16 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropp_t1.sql
17 rm -f ${REL_PATH}/dropp_t1.sql
18 exit 1;
21 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropp_t1.sql
22 if [ $? -ne 0 ]
23 then
24 rm -f ${REL_PATH}/dropp_t1.sql
25 exit 3;
27 rm -f ${REL_PATH}/dropp_t1.sql
28 exit 0;