tests: mkdir/selinux: avoid spurious failure on some SELinux systems
authorJim Meyering <meyering@redhat.com>
Wed, 26 Aug 2009 08:06:53 +0000 (10:06 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 26 Aug 2009 08:06:53 +0000 (10:06 +0200)
commitd6639ee63bc9321bc73ad453a266e45a89823a22
tree50eea2cb0b99ff8450078dc958b594def74ff83b
parentbe8531206b0554bdac6cfb8809c4a2dab56b5a52
tests: mkdir/selinux: avoid spurious failure on some SELinux systems

* tests/test-lib.sh (require_selinux_enforcing_): New function.
* tests/mkdir/selinux: Use it.
Otherwise, this test would fail on Rawhide with SELinux disabled.
tests/mkdir/selinux
tests/test-lib.sh