adding test scripts
[csql.git] / test / sql / Distinct / test001.ksh
blobb59c5c630db8e24fd8c746eafb4863480098b0ce
1 #!/bin/ksh
2 # Testing DISTINCT Clause
4 CREATEFILE=${PWD}/sql/Distinct/dropt1.sql
5 REL_PATH=.
6 if [ -s "$CREATEFILE" ]
7 then
8 REL_PATH=`pwd`/sql/Distinct
9 fi
11 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/distinct1.sql
12 if [ $? -ne 0 ]
13 then
14 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropt1.sql
15 exit 1;
18 $CSQL_INSTALL_ROOT/bin/csql -s ${REL_PATH}/dropt1.sql
19 if [ $? -ne 0 ]
20 then
21 exit 3;
24 exit 0;