tests: avoid unwarranted failure in mock-simulated non-SELinux env.
authorMathieu Bridon <bochecha@fedoraproject.org>
Mon, 28 Mar 2011 07:39:53 +0000 (09:39 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 28 Mar 2011 10:00:12 +0000 (12:00 +0200)
commit17a7e4592727b44d0a5550d1340e354786109af7
tree614a457334c948fff48f6d73c83390e737eb0d68
parentfde07ff436ef19cc85a8bb626535cc18fdb9d588
tests: avoid unwarranted failure in mock-simulated non-SELinux env.

* tests/init.cfg (require_selinux_): Skip the test also when
/proc/filesystems does not list selinuxfs.
Add comments.
* cfg.mk (exclude_file_name_regexp--sc_file_system): Exempt
tests/init.cfg, with its use of /proc/filesystems.
Based on the patch by Mathieu Bridon in http://debbugs.gnu.org/8359.
More discussion in http://bugzilla.redhat.com/573111
cfg.mk
tests/init.cfg