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
3a37885b
Commit
3a37885b
authored
Jul 17, 2020
by
QM
Committed by
33cn
Jul 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add x2eth copyErrLogs
parent
5da62c66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
test-rpc.sh
plugin/dapp/x2ethereum/cmd/test/test-rpc.sh
+13
-1
No files found.
plugin/dapp/x2ethereum/cmd/test/test-rpc.sh
View file @
3a37885b
...
@@ -118,7 +118,19 @@ function copyErrLogs() {
...
@@ -118,7 +118,19 @@ function copyErrLogs() {
for
name
in
A B C D
;
do
for
name
in
A B C D
;
do
cp
"./x2ethereum/
$name
/ebrelayer.log"
"
$dirName
/rpc_ebrelayer
$name
.log"
cp
"./x2ethereum/
$name
/ebrelayer.log"
"
$dirName
/rpc_ebrelayer
$name
.log"
done
done
docker
cp
"
${
NODE3
}
"
:/root/logs/chain33.log
"
$dirName
/rpc_chain33.log"
oldIFS
=
$IFS
IFS
=
//
# shellcheck disable=SC2207
arrpwd
=(
$(
pwd
)
)
if
[
${#
arrpwd
[@]
}
-ge
3
]
;
then
i
=
$((
${#
arrpwd
[@]
}
-
3
))
# shellcheck disable=SC2116
# shellcheck disable=SC2086
dockerName
=
$(
echo
${
arrpwd
[
$i
]
}
)
docker
cp
"
${
dockerName
}
_chain33_1"
:/root/logs/chain33.log
"
$dirName
/rpc_chain33.log"
fi
IFS
=
$oldIFS
fi
fi
}
}
...
...
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