diff options
author | Ondrej Filip <feela@majklik.network.cz> | 2009-05-28 13:37:04 +0200 |
---|---|---|
committer | Ondrej Filip <feela@majklik.network.cz> | 2009-05-28 13:37:04 +0200 |
commit | a6c9f0648db56175ee9e077e2ca631b678552835 (patch) | |
tree | be88e502b9e06aeadde6dbfcbcd4003af3676d2a /filter/test.conf | |
parent | 4c2507da687cdad1b9d147c1655e5ac46aaaa511 (diff) |
Missing boolean comparison added.
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 5 |
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(); |