]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Skip the chcon test on a system with no SELinux support.
authorJim Meyering <meyering@redhat.com>
Tue, 9 Oct 2007 07:58:27 +0000 (09:58 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 9 Oct 2007 08:13:39 +0000 (10:13 +0200)
commit4597f40b7fa6f93ec798a6f0143b51c1e555a837
treed455f2ab3f9aca9f9f8652eadd8d57df6c04d859
parent91bef1af623fc76d767ffb0af5c6d61c6f6383c5
Skip the chcon test on a system with no SELinux support.

* tests/test-lib.sh (require_selinux_): New function.
* tests/misc/chcon: Use it.
* tests/misc/selinux: Use it here, too.
* tests/cp/cp-a-selinux: and here.
* tests/selinux: Remove file.
* tests/Makefile.am (EXTRA_DIST): Remove selinux.
Reported by Mike Frysinger and Bauke Jan Douma.
ChangeLog
tests/Makefile.am
tests/cp/cp-a-selinux
tests/misc/chcon
tests/misc/selinux
tests/selinux [deleted file]
tests/test-lib.sh