aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch')
-rw-r--r--testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch b/testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch
new file mode 100644
index 0000000000..2847bc1df2
--- /dev/null
+++ b/testing/apparmor/0004-parser-remove-specific-tests-for-ofile.patch
@@ -0,0 +1,28 @@
+From 7227f8c49cf74ff470248cdb946dd27872854979 Mon Sep 17 00:00:00 2001
+From: allgdante <allan.garret@gmail.com>
+Date: Wed, 4 Jul 2018 17:08:11 +0200
+Subject: [PATCH 4/7] parser: remove specific tests for ofile
+
+musl libc doesn't implement this feature, so the test fail.
+We must find a way to skip this test instead of removing it
+---
+ parser/tst/simple_tests/rlimits/ok_rlimit_09.sd | 7 -------
+ 1 file changed, 7 deletions(-)
+ delete mode 100644 parser/tst/simple_tests/rlimits/ok_rlimit_09.sd
+
+diff --git a/parser/tst/simple_tests/rlimits/ok_rlimit_09.sd b/parser/tst/simple_tests/rlimits/ok_rlimit_09.sd
+deleted file mode 100644
+index 6510ae72..00000000
+--- a/parser/tst/simple_tests/rlimits/ok_rlimit_09.sd
++++ /dev/null
+@@ -1,7 +0,0 @@
+-#
+-#=DESCRIPTION simple max open file (same as nofile) rlimit test
+-#=EXRESULT PASS
+-
+-profile rlimit {
+- set rlimit ofile <= 1234,
+-}
+--
+2.20.1
+