zeek/testing/btest/scripts/base
Johanna Amann 35465aaf30 Add convenient way to access version information to Bro.
With the introduction of the package manager, it will get more common
that applications are able to get information about the currently
running version of Bro. With this commit, scripts can easily compare
which version of Bro they are running.

Commonly, this probably will either look like this (both lines check if
the current Bro version is greater or equal to 2.5)

@if ( Version::num >= 20500 )
or
@if ( Version::greater_equal("2.5") )

Version::info contains detailed information about the running version of
Bro, including beta flags, etc.
2016-09-29 12:45:48 -07:00
..
files Fix parsing of x509 pre-y2k dates 2016-04-26 12:30:28 -07:00
frameworks Actually check if the number of fields in a write are equal to the 2016-09-22 16:43:37 -07:00
misc Add convenient way to access version information to Bro. 2016-09-29 12:45:48 -07:00
protocols Fix a crash when a user disables DCE_RPC and enabled SMB. 2016-08-28 21:28:57 -04:00
utils Updates for the urls.bro script. Fixes BIT-1404. 2015-06-01 11:38:26 -04:00