diff options
| author | Jim Meyering <meyering@redhat.com> | 2007-10-09 09:58:27 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2007-10-09 10:13:39 +0200 |
| commit | 4597f40b7fa6f93ec798a6f0143b51c1e555a837 (patch) | |
| tree | d455f2ab3f9aca9f9f8652eadd8d57df6c04d859 /tests/misc/selinux | |
| parent | * src/dircolors.hin: Recognize .lzma as a compressed-file suffix. (diff) | |
| download | coreutils-4597f40b7fa6f93ec798a6f0143b51c1e555a837.tar.gz coreutils-4597f40b7fa6f93ec798a6f0143b51c1e555a837.zip | |
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.
Diffstat (limited to 'tests/misc/selinux')
| -rwxr-xr-x | tests/misc/selinux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/selinux b/tests/misc/selinux index 67de51ea3..847ccac2c 100755 --- a/tests/misc/selinux +++ b/tests/misc/selinux @@ -11,9 +11,9 @@ if test "$VERBOSE" = yes; then fi . $srcdir/../lang-default -. $srcdir/../selinux . $srcdir/../test-lib.sh skip_if_root_ +require_selinux_ # Create a regular file, dir, fifo. touch f || framework_failure |
