tests: use shasum to avoid rarer dependency

This commit is contained in:
Ethan Buchman 2018-01-05 22:33:18 -05:00
parent e1e3ea4e7f
commit a55adfaa4f

View File

@ -20,8 +20,8 @@ function testExample() {
abci-cli --log_level=error --verbose batch < "$INPUT" > "${INPUT}.out.new"
killall "$3"
pre=$(sha256sum < "${INPUT}.out")
post=$(sha256sum < "${INPUT}.out.new")
pre=$(shasum < "${INPUT}.out")
post=$(shasum < "${INPUT}.out.new")
if [[ "$pre" != "$post" ]]; then
echo "You broke the tutorial"