diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-09 19:39:41 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-04-13 12:08:01 +0200 |
commit | 084575ff91e4291e1659ddfb6f2b74d10adc5fb0 (patch) | |
tree | b73607881d396033922b839697ca460055fd9df9 /test/units/testsuite-02.sh | |
parent | bcaf24cd77d80529f70643e9b96c45a437dbed54 (diff) | |
download | systemd-084575ff91e4291e1659ddfb6f2b74d10adc5fb0.tar.gz |
test: use set -eux and set -o pipefail everywhere
This should make the scripts more robust.
Diffstat (limited to 'test/units/testsuite-02.sh')
-rwxr-xr-x | test/units/testsuite-02.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/testsuite-02.sh b/test/units/testsuite-02.sh index 1ff1c3347b..b0807c9d8a 100755 --- a/test/units/testsuite-02.sh +++ b/test/units/testsuite-02.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -#set -ex -#set -o pipefail +set -eux +set -o pipefail NPROC=$(nproc) MAX_QUEUE_SIZE=${NPROC:-2} |