adding test scripts
[csql.git] / test / dbapi / Connection / test002.ksh
blob1f551939e824b49d5803a19257d07231d42bd9f1
1 #!/bin/ksh
2 # TestCase:
4 CSQL_CONFIG_FILE=
8 #Run this test only under csql/test or on this directory.
9 #Otherwise, it may fail
10 executable=${PWD}/dbapi/Connection/serverOff
11 REL_PATH=.
12 if [ -s "$executable" ]
13 then
14 REL_PATH=${PWD}/dbapi/Connection
17 ${REL_PATH}/serverOff
19 if [ $? -ne 0 ]
20 then
21 exit 1;
24 exit 0