Use set -e
and trap
to improve test shell-script
#182
Labels
refactor
Restructuring code, while not changing its original functionality
Context
What problem are you trying to solve?
As per: #171 (review)
We could automate cleanup and exit on any error for scripts:
tests/scripts/test-jsonrpc-server.sh
andtests/scripts/test-grpc-server.sh
.with:
note: here docs return false for whatever reason, use this trick to make them work.
The text was updated successfully, but these errors were encountered: