mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-11 12:21:20 +00:00
test: more verbosity
This commit is contained in:
@ -9,13 +9,17 @@ function testExample() {
|
||||
$APP &> /dev/null &
|
||||
sleep 2
|
||||
tmsp-cli --verbose batch < $INPUT > "${INPUT}.out.new"
|
||||
killall "$APP" &> /dev/null
|
||||
killall "$APP"
|
||||
|
||||
pre=`shasum < "${INPUT}.out"`
|
||||
post=`shasum < "${INPUT}.out.new"`
|
||||
|
||||
if [[ "$pre" != "$post" ]]; then
|
||||
echo "You broke the tutorial"
|
||||
echo "Got:"
|
||||
cat "${INPUT}.out.new"
|
||||
echo "Expected:"
|
||||
cat "${INPUT}.out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user