adding test scripts
[csql.git] / test / tools / csql / testnw002.ksh
blob1f32435d281fd5188b992e38a4d502048c8e26ec
1 #!/bin/ksh
2 # Test Case
3 # Creating table with not null constraint and primary key constraint on the int field
4 # check basic INSERT, SELECT
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}/csql1.sql 2>/dev/null
14 if [ $? -ne 0 ]
15 then
16 exit 1;