tests: tighten check for TEST-06-SELINUX dependencies a bit
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jun 2018 19:27:01 +0000 (21:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 08:17:38 +0000 (10:17 +0200)
commitcc4338e435b1d83d7d2cd572e72036d37e12af96
tree46ea1f2a4520a7a377a154d783e75a9545f9fe5b
parent7fc97da0f8089efbab117b02067bfcba0a151408
tests: tighten check for TEST-06-SELINUX dependencies a bit

As it turns out /usr/share/selinux/devel/ is now included in more RPMs
than just selinux-policy-devel (specifically container-selinux, which is
pulled in by various container related RPMs). Let's hence tighten the
dependency check a bit and look for systemd's .if file, which is what we
actually care about.
test/TEST-06-SELINUX/test.sh