adding test scripts
[csql.git] / test / tools / csql / testnw003.ksh
blob12d4db66f840c0f6dfb6e46f73ac99af2f109f7b
1 #!/bin/ksh
2 # Test Case
3 # Creating table with not null constraint and primary key constraint on the int field
4 # check basic UPDATE and DELETE
6 QUITFILE=${PWD}/tools/csql/quit.sql
7 REL_PATH=.
8 if [ -s "$QUITFILE" ]
9 then
10 REL_PATH=`pwd`/tools/csql
13 $CSQL_INSTALL_ROOT/bin/csql -o 4 -u root -p manager -s ${REL_PATH}/csql2.sql
14 if [ $? -ne 0 ]
15 then
16 exit 1;
18 exit 0;