]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: skip another test if mcstransd is running
authorJim Meyering <meyering@redhat.com>
Mon, 5 May 2008 13:17:42 +0000 (15:17 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 May 2008 06:21:30 +0000 (08:21 +0200)
commitd3dc29c0bef01d16918dfb3b792ef6ed674f7eb9
tree2e1dc9c8ae1083cccdc2e11b00c2c41a96a105bc
parent6ec3a4f03356a79a49f03e4b8c4d59bca30ca671
tests: skip another test if mcstransd is running

* tests/test-lib.sh (skip_if_mcstransd_is_running_): New function,
extracted from...
* tests/misc/chcon: ...here.  Use function, not open-coded test.
* tests/misc/selinux: Use the function here, too.
Require root, not non-root.
* tests/Makefile.am (root_tests): Add misc/selinux.
tests/Makefile.am
tests/misc/chcon
tests/misc/selinux
tests/test-lib.sh