diff --git a/scripts/tests/test_suites.sh b/scripts/tests/test_suites.sh index 38e0bfd75ed3f3..f335fe539db21e 100755 --- a/scripts/tests/test_suites.sh +++ b/scripts/tests/test_suites.sh @@ -16,8 +16,13 @@ # limitations under the License. # +# Fail if one of our sub-commands fails. set -e +# Fail if anything in a pipeline fails, not just the last command (which for +# us tends to be 'tee'). +set -o pipefail + declare -i iterations=2 declare -i delay=0 declare -i node_id=0x12344321