repo.or.cz
/
csql.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
adding test scripts
[csql.git]
/
test
/
dbapi
/
Connection
/
test002.ksh
blob
1f551939e824b49d5803a19257d07231d42bd9f1
1
#!/bin/ksh
2
# TestCase:
3
4
CSQL_CONFIG_FILE
=
5
6
7
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
15
fi
16
17
${REL_PATH}
/
serverOff
18
19
if
[
$?
-ne
0
]
20
then
21
exit
1
;
22
fi
23
24
exit
0