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 case and supporting files for csqldump -T option
[csql.git]
/
test
/
tools
/
csqldump
/
test009.ksh
blob
692aaa2f493ddf7aad972b0c40f8e2487df073d4
1
#!/bin/sh
2
3
#Run this test only under csql/test or on this directory.
4
#Otherwise, it may fail
5
6
# dump the data of not existing table, should say table does not exist
7
8
REL_PATH
=
.
9
if
[
-s
"
$input
"
]
10
then
11
REL_PATH
=
${PWD}
/
tools
/
csqldump
12
fi
13
14
$CSQL_INSTALL_ROOT
/
bin
/
csqldump
-T
t1
15
if
[
$?
-ne
0
]
16
then
17
exit
0
;
18
fi
19
20
exit
1
;