[Bro-Dev] [Bro-Commits] [git/bro] topic/script-load-changes: Make @load statements recognize relative paths. (e5e3bf2)

Robin Sommer robin at icir.org
Thu Jul 14 10:34:03 PDT 2011


On Thu, Jul 14, 2011 at 09:41 -0700, Jonathan Siwek wrote:

> +# @TEST-EXEC: echo "@load ./bar" > foo/foo.bro
> +# @TEST-EXEC: echo "@load ../baz" >> foo/foo.bro

Jfyi in case you haven't seen it yet: btest has a command
"@TEST-START-FILE <file>" to create additional files for the test, see
http://www.bro-ids.org/development/btest.html#writing-tests

Robin


-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list