mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-30 22:51:19 +00:00
tests: use shasum to avoid rarer dependency
This commit is contained in:
parent
e1e3ea4e7f
commit
a55adfaa4f
@ -20,8 +20,8 @@ function testExample() {
|
|||||||
abci-cli --log_level=error --verbose batch < "$INPUT" > "${INPUT}.out.new"
|
abci-cli --log_level=error --verbose batch < "$INPUT" > "${INPUT}.out.new"
|
||||||
killall "$3"
|
killall "$3"
|
||||||
|
|
||||||
pre=$(sha256sum < "${INPUT}.out")
|
pre=$(shasum < "${INPUT}.out")
|
||||||
post=$(sha256sum < "${INPUT}.out.new")
|
post=$(shasum < "${INPUT}.out.new")
|
||||||
|
|
||||||
if [[ "$pre" != "$post" ]]; then
|
if [[ "$pre" != "$post" ]]; then
|
||||||
echo "You broke the tutorial"
|
echo "You broke the tutorial"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user