[Bro-Dev] #1006: topic/dnthayer/broctl-testing

Bro Tracker bro at tracker.bro.org
Thu May 16 15:20:12 PDT 2013


#1006: topic/dnthayer/broctl-testing
---------------------------+------------------------
 Reporter:  dnthayer       |      Owner:
     Type:  Merge Request  |     Status:  new
 Priority:  Medium         |  Milestone:  Bro2.2
Component:  BroControl     |    Version:  git/master
 Keywords:                 |
---------------------------+------------------------
 This branch contains an automated test suite for broctl.
 Included are tests of all broctl commands and plugins, and
 tests that broctl can read all three of its config files
 correctly.

 All tests rely on btest, and Makefile targets
 have been added to run all tests.  Each test runs
 with its own unique Bro install prefix, so a test
 case does not have any affect on any others (the only
 exception is a small number of test cases that use
 broctl commands that rely on broccoli, but these
 have been serialized to avoid problems).

 There were two changes to broctl itself needed to support the test suite.
 First, the ability to specify the location of the broctl install
 via an environment variable (if not defined, then the
 hard-coded path is used instead) was added. Another change
 was to allow the manager in a cluster to be on localhost
 (in that case, all other nodes must also be on localhost).

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



More information about the bro-dev mailing list