[Bro-Dev] #525: topic/jsiwek/unit-tests

Bro Tracker bro at tracker.bro-ids.org
Fri Jul 29 13:55:21 PDT 2011

#525: topic/jsiwek/unit-tests
 Reporter:  jsiwek         |      Owner:
     Type:  Merge Request  |     Status:  new
 Priority:  Low            |  Milestone:  Bro1.6
Component:  Bro            |    Version:  git/master
 Keywords:                 |
 This branch currently has unit tests for all the scripts in policy/utils.
 It also has fixes for some of them:


 - rename extract_directory() to extract_path() (later seemed clearer) and
 made it work with more than just path string in FTP response msgs
 - rename build_full_path() and absolute_path()
 - compress_path() should now work with relative paths also

 - check both connection endpoints when determining direction respectful of
 local network.

 - fixed the TODO about making check for valid IPv6 string formats more

 -  fix error in find_all_emails() about accessing non-existent table

 I might ask to periodically merge this branch in the future if the task of
 creating tests for pre-existing scripts keeps getting drawn out.

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

More information about the bro-dev mailing list