[Bro-Dev] #872: topic/dnthayer/language-tests

Bro Tracker bro at tracker.bro-ids.org
Fri Sep 7 09:41:34 PDT 2012


#872: topic/dnthayer/language-tests
---------------------------+------------------------
 Reporter:  dnthayer       |      Owner:
     Type:  Merge Request  |     Status:  new
 Priority:  Normal         |  Milestone:  Bro2.2
Component:  Bro            |    Version:  git/master
 Keywords:                 |
---------------------------+------------------------
 Added tests of bro script language features.
 These tests include tests of the built-in Bro data types (tested
 different representations of constant values, max./min. values,
 and allowed operations on each data type), keywords, and
 operators (including special properties of certain operators,
 such as short-circuit evaluation and associativity).

 Several bugs in bro were found (and fixed) as a result of these
 tests, but there are still two known issues remaining (marked
 in the test scripts with "TODO" comments):

 1) Calling an event that was declared locally (without
   an event body) and assigned to an existing event doesn't
   seem to do anything
 2) Writing interval constants with a decimal point but without a space
   (such as 2.5day, or 2.1usec) causes bro to exit with an error because
 it's
   interpreting the interval constant as a host name

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/872>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list