mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: restrict a recent SELinux test to SELinux systems
* tests/cp/no-ctx.sh: Since the test diagnoses whether the intercepted lgetfilecon() calls are actually called or not, restrict the test to systems where that occurs. The test cases are minimal on non SELinux systems and should be well covered by other tests. Reported-by: Bernhard Voelker
This commit is contained in:
1 parent
d718331e59
commit
745de6dca5
1 file changed
+1
@@ -22,6 +22,7 @@
|
||||
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
|
||||
print_ver_ cp
|
||||
require_gcc_shared_
|
||||
require_selinux_
|
||||
|
||||
# Replace each getfilecon and lgetfilecon call with a call to these stubs.
|
||||
cat > k.c <<'EOF' || framework_failure_
|
||||
|
||||
Reference in new issue
Block a user