From 448fd962a858e93b4acc4ef5f97964038ec55d35 Mon Sep 17 00:00:00 2001 From: Luis Gerhorst Date: Fri, 17 Nov 2023 13:38:46 +0100 Subject: [PATCH] cicd/tcpsctpperf: set -eo pipefail to ease debugging Not adding to rmconfig.sh, because it can also be used for cleanup before running config.sh and then it is expected to fail. set -u would also be nice, but it requires more modifications to the scripts. --- cicd/tcpsctpperf/config.sh | 1 + cicd/tcpsctpperf/validation.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/cicd/tcpsctpperf/config.sh b/cicd/tcpsctpperf/config.sh index 6c2eabefc..370cde0af 100755 --- a/cicd/tcpsctpperf/config.sh +++ b/cicd/tcpsctpperf/config.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -eo pipefail source ../common.sh diff --git a/cicd/tcpsctpperf/validation.sh b/cicd/tcpsctpperf/validation.sh index 84d670781..7617d3c90 100755 --- a/cicd/tcpsctpperf/validation.sh +++ b/cicd/tcpsctpperf/validation.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -eo pipefail source ../common.sh if [ -z "$1" ]; then threads=50