zeek/testing/btest/Baseline/scripts.base.misc.version
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
..
.stderr Add convenient way to access version information to Bro. 2016-09-29 12:45:48 -07:00
.stdout Add convenient way to access version information to Bro. 2016-09-29 12:45:48 -07:00