summaryrefslogtreecommitdiff
path: root/filter/test.conf
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2009-05-28 13:37:04 +0200
committerOndrej Filip <feela@majklik.network.cz>2009-05-28 13:37:04 +0200
commita6c9f0648db56175ee9e077e2ca631b678552835 (patch)
treebe88e502b9e06aeadde6dbfcbcd4003af3676d2a /filter/test.conf
parent4c2507da687cdad1b9d147c1655e5ac46aaaa511 (diff)
Missing boolean comparison added.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/filter/test.conf b/filter/test.conf
index af889073..f1cdf04c 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -155,6 +155,9 @@ string s;
b = true;
print "Testing bool: ", b, ", ", !b;
+
+ if ( b = true ) then print "Testing bool comparison b = true: ", b;
+ else { print "*** FAIL: TRUE test failed" ; quitbird; }
pxs = [ 1.2.0.0/16, 1.4.0.0/16+];
print "Testing prefix sets: ";
@@ -202,4 +205,4 @@ int j;
accept "ok I take that";
}
-eval __startup(); \ No newline at end of file
+eval __startup();