summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-06.sh
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-04-09 19:39:41 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-04-13 12:08:01 +0200
commit084575ff91e4291e1659ddfb6f2b74d10adc5fb0 (patch)
treeb73607881d396033922b839697ca460055fd9df9 /test/units/testsuite-06.sh
parentMerge pull request #19303 from yuwata/fix-typo (diff)
downloadsystemd-084575ff91e4291e1659ddfb6f2b74d10adc5fb0.tar.xz
systemd-084575ff91e4291e1659ddfb6f2b74d10adc5fb0.zip
test: use set -eux and set -o pipefail everywhere
This should make the scripts more robust.
Diffstat (limited to 'test/units/testsuite-06.sh')
-rwxr-xr-xtest/units/testsuite-06.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/testsuite-06.sh b/test/units/testsuite-06.sh
index f9b106da7b..f89698ded4 100755
--- a/test/units/testsuite-06.sh
+++ b/test/units/testsuite-06.sh
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
-set -x
-set -e
+set -eux
set -o pipefail
echo 1 >/sys/fs/selinux/enforce || {