summaryrefslogtreecommitdiffstats
path: root/test/TEST-06-SELINUX
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2019-07-08 21:11:32 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2019-07-08 21:11:32 +0200
commitcc469c3dfc398210f38f819d367e68646c71d8da (patch)
treed997d088b3506e0fbb3503e56d4e472a9b893745 /test/TEST-06-SELINUX
parenttest: be a little bit more verbose when installing service binaries (diff)
downloadsystemd-cc469c3dfc398210f38f819d367e68646c71d8da.tar.xz
systemd-cc469c3dfc398210f38f819d367e68646c71d8da.zip
test: drop || return 1 expression which is incompatible with set -e
The `set -e` option is incompatible with a subshell/compound command, which is followed by || <EXPR>. In such case, the -e option is ignored in all affected subshells/functions (see man bash(1) for command `set`).
Diffstat (limited to 'test/TEST-06-SELINUX')
-rwxr-xr-xtest/TEST-06-SELINUX/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh
index 2b49b3d5ae..5d26cb0f0a 100755
--- a/test/TEST-06-SELINUX/test.sh
+++ b/test/TEST-06-SELINUX/test.sh
@@ -92,7 +92,7 @@ EOF
dracut_install -o sesearch
dracut_install runcon
dracut_install checkmodule semodule semodule_package m4 make /usr/libexec/selinux/hll/pp load_policy sefcontext_compile
- ) || return 1
+ )
# mask some services that we do not want to run in these tests
ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service