mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 14:43:19 +00:00
Exit early in bash tests
This commit is contained in:
@@ -13,6 +13,7 @@ if [[ "$R1" != "$R2" ]]; then
|
||||
echo "responses are not identical:"
|
||||
echo "R1: $R1"
|
||||
echo "R2: $R2"
|
||||
exit 1
|
||||
else
|
||||
echo "Success"
|
||||
fi
|
||||
@@ -24,6 +25,7 @@ if [[ "$R1" != "$R2" ]]; then
|
||||
echo "responses are not identical:"
|
||||
echo "R1: $R1"
|
||||
echo "R2: $R2"
|
||||
exit 1
|
||||
else
|
||||
echo "Success"
|
||||
fi
|
||||
@@ -35,6 +37,7 @@ if [[ "$R1" != "$R2" ]]; then
|
||||
echo "responses are not identical:"
|
||||
echo "R1: $R1"
|
||||
echo "R2: $R2"
|
||||
exit 1
|
||||
else
|
||||
echo "Success"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user