Browse Source

Exit early in bash tests

pull/456/head
Matt Bell 8 years ago
parent
commit
af1212897c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/test.sh

+ 3
- 0
test/test.sh View File

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


Loading…
Cancel
Save