From 745de6dca52ef32cdaf9c459414b53d8a48459c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Tue, 14 Jan 2014 11:30:51 +0000 Subject: [PATCH] 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 --- tests/cp/no-ctx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cp/no-ctx.sh b/tests/cp/no-ctx.sh index 3b5eb829ac..059c84f804 100755 --- a/tests/cp/no-ctx.sh +++ b/tests/cp/no-ctx.sh @@ -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_ -- 2.47.2