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
File Removed
[csql.git]
/
test
/
tools
/
csqldump
/
test001.ksh
blob
06c339e24091a3f394d85a1cf8ac4a8f8799a62b
1
#!/bin/sh
2
# Test Case
3
# check no option, ?
4
# check whether authentication is working
5
#
6
echo
"Case 1: With no option:"
7
$CSQL_INSTALL_ROOT
/
bin
/
csqldump
8
if
[
$?
-ne
0
]
9
then
10
exit
1
;
11
fi
12
13
echo
"Case 2: With ? option:"
14
$CSQL_INSTALL_ROOT
/
bin
/
csqldump
-
?
15
if
[
$?
-ne
0
]
16
then
17
exit
1
;
18
fi
19
exit
0
;