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
7 if [ -s "$executable" -a -s "$CSQL_CONF" ]
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 &
18 if [ $VALGRIND = "true" ]
20 valgrind
--tool=memcheck
--leak-check=full
${REL_PATH}/insert
2> $0.valgr