From 745de6dca52ef32cdaf9c459414b53d8a48459c3 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 14 Jan 2014 11:30:51 +0000 Subject: 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(+) (limited to 'tests/cp') diff --git a/tests/cp/no-ctx.sh b/tests/cp/no-ctx.sh index 3b5eb829a..059c84f80 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_ -- cgit v1.2.3-70-g09d2