test script fixes
[csql.git] / test / tools / csql / test140.ksh
blobc583028d59a25c9a33b78634031e26fc7c52c1f1
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;
19 exit 0;