summaryrefslogtreecommitdiff
path: root/keama/tests/notbx4.in4
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/notbx4.in4')
-rw-r--r--keama/tests/notbx4.in412
1 files changed, 12 insertions, 0 deletions
diff --git a/keama/tests/notbx4.in4 b/keama/tests/notbx4.in4
new file mode 100644
index 00000000..6248b8c6
--- /dev/null
+++ b/keama/tests/notbx4.in4
@@ -0,0 +1,12 @@
+# not boolean expression
+
+# empty configs are not accepted by Kea
+default-lease-time 1800;
+
+# use not in a reductible match if
+class "reductible" {
+ match if not (option host-name = "www.example.com");
+}
+
+# if test is a boolean too
+if not check "foo" { add "bar"; }