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
Test script for jdbc:gateway connection
[csql.git]
/
test
/
jdbc
/
Gateway
/
test010.ksh
blob
6bf88447873a303406957fd13ebb0e46b96c934f
1
#!/bin/sh
2
TESTFILE
=
${PWD}
/
jdbc
/
Gateway
/
ConnTest01.java
3
REL_PATH
=
.
4
if
[
-s
"
$TESTFILE
"
]
5
then
6
REL_PATH
=
`pwd`
/
jdbc
/
Gateway
7
fi
8
export
CLASSPATH
=
$CLASSPATH
:
${REL_PATH}
9
java ConnTest10
10
if
[
$?
-ne
0
]
11
then
12
exit
1
;
13
fi
14
exit
0
;