summaryrefslogtreecommitdiff
path: root/keama/tests/ifxsc4.in4
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/ifxsc4.in4')
-rw-r--r--keama/tests/ifxsc4.in417
1 files changed, 17 insertions, 0 deletions
diff --git a/keama/tests/ifxsc4.in4 b/keama/tests/ifxsc4.in4
new file mode 100644
index 00000000..b3a59bcc
--- /dev/null
+++ b/keama/tests/ifxsc4.in4
@@ -0,0 +1,17 @@
+# if executable statement construct
+
+# empty configs are not accepted by Kea
+default-lease-time 1800;
+
+# if statement
+# first true is not recognized even as a boolean expression
+if true {
+ option ip-forwarding true;
+}
+
+# another
+if ( option user-class = "accounting" ) {
+ option boot-size 100000;
+} elsif option user-class = "engineering" {
+ option domain-name "example.com";
+}