adding test scripts
[csql.git] / test / tools / csql / test101.ksh
blob91cd665fb7628f160ab61d26c1b482a5c7b2714a
1 #!/bin/sh
2 # Test Case
3 # Script to check all data type valid value.
4 QUITFILE=${PWD}/tools/csql/quit.sql
5 REL_PATH=.
6 if [ -s "$QUITFILE" ]
7 then
8 REL_PATH=`pwd`/tools/csql
9 fi
11 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/csql101.sql
12 if [ $? -ne 0 ]
13 then
14 exit 1;