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
*** empty log message ***
[csql.git]
/
test
/
sqlnetwork
/
Jdbcnetwork
/
test018.ksh
blob
8d3580b16f7e09a865a944cd5d1065ae23eeb79f
1
#!/bin/ksh
2
#Close the connection and then call createStatement(). It should fail.
3
TESTFILE
=
${PWD}
/
jdbc
/
Connection
/
ConnTest1.java
4
REL_PATH
=
.
5
if
[
-s
"
$TESTFILE
"
]
6
then
7
REL_PATH
=
`pwd`
/
jdbc
/
Connection
8
fi
9
export
CLASSPATH
=
$CLASSPATH
:
${REL_PATH}
10
java ConnTest18
11
if
[
$?
-ne
0
]
12
then
13
exit
1
;
14
fi
15
exit
0
;