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
Statement fixed as history implementation was affecting.
[csql.git]
/
test
/
dbapi
/
Connection
/
test002.ksh
blob
77165926a1501870eda941d12840f6e7daf4546f
1
#!/bin/sh
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