Handling no group on Aggregates
[csql.git] / test / dbapi / Table / test003.ksh
blob7ba9f3710cadb5664a2fc6b4fd58486fbe37d9e9
1 #!/bin/sh
2 #Run this test only under csql/test or on this directory.
3 #Otherwise, it may fail
4 executable=${PWD}/dbapi/Table/insert
5 CSQL_CONF=${PWD}/dbapi/Table/csql.conf
6 REL_PATH=.
7 if [ -s "$executable" -a -s "$CSQL_CONF" ]
8 then
9 REL_PATH=${PWD}/dbapi/Table
12 export CSQL_CONFIG_FILE=$REL_PATH/csql.conf
14 $CSQL_INSTALL_ROOT/bin/csqlserver >/dev/null 2>&1 &
15 pid=$!
16 sleep 5
18 $REL_PATH/insert
19 if [ $? -ne 0 ]
20 then
21 exit 2;
24 kill -9 $pid
25 if [ $? -ne 0 ]
26 then
27 exit 3;
29 ipcrm -M 7117 -M 1771
31 exit 0;