Browse Source

use sha256sum because more secure

pull/1780/head
Zach Ramsay 7 years ago
parent
commit
f47b8f8a2d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/test_cli/test.sh

+ 2
- 2
tests/test_cli/test.sh View File

@ -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"


Loading…
Cancel
Save