Skip to content

Commit

Permalink
cicd/tcpsctpperf: set -eo pipefail to ease debugging
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
luisgerhorst committed Nov 17, 2023
1 parent 71ee3bc commit 448fd96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cicd/tcpsctpperf/config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -eo pipefail

source ../common.sh

Expand Down
1 change: 1 addition & 0 deletions cicd/tcpsctpperf/validation.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -eo pipefail
source ../common.sh
if [ -z "$1" ]; then
threads=50
Expand Down

0 comments on commit 448fd96

Please sign in to comment.