zeek/testing/btest/bifs/piped_exec.bro
Jon Siwek 19dab4fdda Add new piped_exec BiF.
And changing email_notice_to() function in notice framework to
interface with sendmail through it.
2011-07-27 13:52:24 -05:00

6 lines
179 B
Text

# @TEST-EXEC: bro %INPUT >output
# @TEST-EXEC: btest-diff output
global cmds = "print \"hello world\";";
cmds = string_cat(cmds, "\nprint \"foobar\";");
piped_exec("bro", cmds);