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 cases for trie index
[csql.git]
/
test
/
jdbc
/
Connection
/
test001.ksh
blob
fa43478a7a62a06a3848a49b8b9eac39db9e0e95
1
#!/bin/ksh
2
TESTFILE
=
${PWD}
/
jdbc
/
Connection
/
ConnTest1.java
3
REL_PATH
=
.
4
if
[
-s
"
$TESTFILE
"
]
5
then
6
REL_PATH
=
`pwd`
/
jdbc
/
Connection
7
fi
8
export
CLASSPATH
=
$CLASSPATH
:
${REL_PATH}
9
java ConnTest1
10
if
[
$?
-ne
0
]
11
then
12
exit
1
;
13
fi
14
exit
0
;