Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
e6e316b9
Commit
e6e316b9
authored
Dec 10, 2019
by
yingqiumin@126.com
Browse files
Options
Browse Files
Download
Plain Diff
improve rpc test
parents
2555a509
f9df6fa2
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1 addition
and
3 deletions
+1
-3
dapp-test-common.sh
build/dapp-test-common.sh
+0
-2
test-rpc.sh
plugin/dapp/autonomy/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/blackwhite/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/hashlock/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/js/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/lottery/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/multisig/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/pokerbull/cmd/test/test-rpc.sh
+0
-0
test-rpc.sh
plugin/dapp/token/cmd/test/test-rpc.sh
+1
-1
test-rpc.sh
plugin/dapp/unfreeze/cmd/test/test-rpc.sh
+0
-0
No files found.
build/dapp-test-common.sh
View file @
e6e316b9
...
@@ -24,8 +24,6 @@ echo_rst() {
...
@@ -24,8 +24,6 @@ echo_rst() {
}
}
http_req
()
{
http_req
()
{
# echo "request="$1" MAIN_HTTP="$2" js="$3" FUNCNAME="$4" response="$5""
# echo "#$4 request: $1"
local
body
=
$(
curl
-ksd
"
$1
"
"
$2
"
)
local
body
=
$(
curl
-ksd
"
$1
"
"
$2
"
)
RETURN_RESP
=
$(
jq
-r
"
$5
"
<<<
"
$body
"
)
RETURN_RESP
=
$(
jq
-r
"
$5
"
<<<
"
$body
"
)
echo
"#response:
$body
"
"
$RETURN_RESP
"
echo
"#response:
$body
"
"
$RETURN_RESP
"
...
...
plugin/dapp/autonomy/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/blackwhite/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/hashlock/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/js/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/lottery/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/multisig/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/pokerbull/cmd/test/test-rpc.sh
View file @
e6e316b9
plugin/dapp/token/cmd/test/test-rpc.sh
View file @
e6e316b9
...
@@ -226,7 +226,7 @@ function token_withdraw() {
...
@@ -226,7 +226,7 @@ function token_withdraw() {
function
run_test
()
{
function
run_test
()
{
local
ip
=
$1
local
ip
=
$1
# set -x
# set -x
token_preCreate
token_preCreate
token_getPreCreated
token_getPreCreated
...
...
plugin/dapp/unfreeze/cmd/test/test-rpc.sh
View file @
e6e316b9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment