aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0005-Remove-parser-test-against-rttime.patch
blob: 5d9f2450f3b607a1906d5f000b549a306d6b968e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
diff --git a/parser/tst/equality.sh b/parser/tst/equality.sh
index 029eec46..3b2f0f9f 100755
--- a/parser/tst/equality.sh
+++ b/parser/tst/equality.sh
@@ -525,15 +525,15 @@ verify_binary_equality "@{profile_name} is literal in peer with esc alt sequence
 
 
 # verify rlimit data conversions
-verify_binary_equality "set rlimit rttime <= 12 weeks" \
-                       "/t { set rlimit rttime <= 12 weeks, }" \
-                       "/t { set rlimit rttime <= $((12 * 7)) days, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24)) hours, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60)) minutes, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60)) seconds, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000)) ms, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000 * 1000)) us, }" \
-                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000 * 1000)), }"
+#verify_binary_equality "set rlimit rttime <= 12 weeks" \
+#                       "/t { set rlimit rttime <= 12 weeks, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7)) days, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24)) hours, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60)) minutes, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60)) seconds, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000)) ms, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000 * 1000)) us, }" \
+#                       "/t { set rlimit rttime <= $((12 * 7 * 24 * 60 * 60 * 1000 * 1000)), }"
 
 verify_binary_equality "set rlimit cpu <= 42 weeks" \
                        "/t { set rlimit cpu <= 42 weeks, }" \
diff --git a/parser/tst/simple_tests/rlimits/ok_rlimit_13.sd b/parser/tst/simple_tests/rlimits/ok_rlimit_13.sd
deleted file mode 100644
index 50b9a6f3..00000000
--- a/parser/tst/simple_tests/rlimits/ok_rlimit_13.sd
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#=DESCRIPTION simple rttime rlimit allows default units
-#=EXRESULT PASS
-
-profile rlimit {
-  set rlimit rttime <= 12,
-}
diff --git a/parser/tst/simple_tests/rlimits/ok_rlimit_18.sd b/parser/tst/simple_tests/rlimits/ok_rlimit_18.sd
deleted file mode 100644
index f2747f10..00000000
--- a/parser/tst/simple_tests/rlimits/ok_rlimit_18.sd
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#=DESCRIPTION simple realtime time rlimit test
-#=EXRESULT PASS
-
-profile rlimit {
-  set rlimit rttime <= 60minutes,
-}
-- 
2.16.1