summaryrefslogtreecommitdiff
path: root/test/test-lace.engine-complexruleset.rules
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-13 23:12:10 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-13 23:12:10 +0100
commit2ab1b5490ba78c0566da6151ca40bb58e40df1f4 (patch)
tree120cc286513566e88cda8328487ccddaad414788 /test/test-lace.engine-complexruleset.rules
parent3e10fb9466ce4d0fee4eb16fa1b800739d605843 (diff)
downloadlace-2ab1b5490ba78c0566da6151ca40bb58e40df1f4.tar.gz
Complex ruleset test with defines, includes and conditional allow/deny
Diffstat (limited to 'test/test-lace.engine-complexruleset.rules')
-rw-r--r--test/test-lace.engine-complexruleset.rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/test-lace.engine-complexruleset.rules b/test/test-lace.engine-complexruleset.rules
new file mode 100644
index 0000000..ad3c449
--- /dev/null
+++ b/test/test-lace.engine-complexruleset.rules
@@ -0,0 +1,19 @@
+// This is a complex ruleset intended to use
+# All of the features of lace
+-- So that we can be sure it all works
+
+// Error cases are covered in individual tests
+-- So the purpose of these tests is to compile
+# and to work
+
+default deny "four"
+
+include complexruleset-definitions
+
+allow one first
+
+include complexruleset-allowsecond second
+
+deny three third
+
+-- Expect four denial, despite last action being a deny