zeek/testing
Robin Sommer 0a97a9e82a Fixing attributes to allow &default in tables/sets to be associated
with the field.

This works now:

    type X: record {
        a: table[string] of bool &default=table( ["foo"] = T );
        b: table[string] of bool &default=table();
        c: set[string] &default=set("A", "B", "C");
        d: set[string] &default=set();
    };

I think previously the intend was to associate &default with the
table/set (i.e., define the default value for non-existing indices).
However, that was already not working: the error checking was
reporting type mismatches. So, this shouldn't break anything and make
things more consistent.
2011-04-05 16:20:27 -07:00
..
btest Fixing attributes to allow &default in tables/sets to be associated 2011-04-05 16:20:27 -07:00
istate Updating indenpdentn state tests to work with new setyp. 2011-02-25 17:01:11 -08:00
README Initial import of svn+ssh:://svn.icir.org/bro/trunk/bro as of r7088 2010-09-27 20:42:30 -07:00

This directory contains some of the suites for testing for Bro's
correct operation:

istate/
	Tests Bro's independent state facilities.  These include persistent
	values and inter-process event/value communication.

(Note that the Bro developers maintain a separate test suite for
 Bro's trace analysis capabilities.  This is kept private as it uses
 sensitive raw traces for input.)