adding test scripts
[csql.git] / test / tools / csql / test000.ksh
blobb473fa304fcc54ac510a754106d43ab05568a4ec
1 #!/bin/ksh
2 # Test Case For Testing 'HELP' Command
4 QUITFILE=${PWD}/tools/csql/quit.sql
5 REL_PATH=.
6 if [ -s "$QUITFILE" ]
7 then
8 REL_PATH=`pwd`/tools/csql
9 fi
10 echo "CSQL> HELP;"
11 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/help.sql
12 if [ $? -ne 0 ]
13 then
14 exit 1;
16 exit 0;