adding test scripts
[csql.git] / test / tools / csql / test083.ksh
blobc691273f8c9f59defca61c86b99ff2f2250e8671
1 #!/bin/ksh
2 #Test case
3 #Miscelaneous testing of insert in autocommit off mode
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}/autocommit1.sql
13 if [ $? -ne 0 ]
14 then
15 exit 1;
17 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/autocommit2.sql
18 if [ $? -ne 0 ]
19 then
20 exit 1;
22 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/selectstar.sql
23 $CSQL_INSTALL_ROOT/bin/csql -u root -p manager -s ${REL_PATH}/drop.sql
24 if [ $? -ne 0 ]
25 then
26 exit 1;