adding test scripts
[csql.git] / test / tools / csql / test140.ksh
blob556109d6f9c4c0f455c736ec3e0d979a0f476137
1 #!/bin/sh
2 # Default timevalue for non-time type field
5 QUITFILE=${PWD}/tools/csql/quit.sql
6 REL_PATH=.
7 if [ -s "$QUITFILE" ]
8 then
9 REL_PATH=`pwd`/tools/csql
12 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/default_timeval_nontime.sql
13 if [ $? -ne 0 ]
14 then
15 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
16 exit 1;
17 else
18 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
19 exit 1;
22 exit 0;