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-22.03.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-22.03.sh')
-rwxr-xr-x | test/units/testsuite-22.03.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/units/testsuite-22.03.sh b/test/units/testsuite-22.03.sh index c905784bee..bb321c1c2f 100755 --- a/test/units/testsuite-22.03.sh +++ b/test/units/testsuite-22.03.sh @@ -1,10 +1,10 @@ -#! /bin/bash +#!/bin/bash # # Basic tests for types creating/writing files # -set -e -set -x +set -eux +set -o pipefail rm -fr /tmp/{f,F,w} mkdir /tmp/{f,F,w} |