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
/
sqlnetwork
/
Jdbcnetwork
/
test017.ksh
blob
ade2161442ac2ee69d11d60d5fd88dd8a5c39137
1
#!/bin/ksh
2
#Close the connection and they call commit(). 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 ConnTest17
11
if
[
$?
-ne
0
]
12
then
13
exit
1
;
14
fi
15
exit
0
;