mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 12:11:44 +00:00
Merge pull request #176 from tendermint/shasum
use sha256sum because more secure
This commit is contained in:
@ -20,8 +20,8 @@ function testExample() {
|
||||
abci-cli --log_level=error --verbose batch < "$INPUT" > "${INPUT}.out.new"
|
||||
killall "$3"
|
||||
|
||||
pre=$(shasum < "${INPUT}.out")
|
||||
post=$(shasum < "${INPUT}.out.new")
|
||||
pre=$(sha256sum < "${INPUT}.out")
|
||||
post=$(sha256sum < "${INPUT}.out.new")
|
||||
|
||||
if [[ "$pre" != "$post" ]]; then
|
||||
echo "You broke the tutorial"
|
||||
|
Reference in New Issue
Block a user