zeek/testing/scripts/has-writer
Robin Sommer 7131feefbc Working on DataSeries support.
- The option to use integers insteads of double was ignored.

   - Renaming script-level options to remove the ds_ prefix.

   - Log rotation didn't work.

   - A set of simple unit tests.
2012-04-09 17:46:56 -07:00

6 lines
208 B
Bash
Executable file

#! /usr/bin/env bash
#
# Returns true if Bro has been compiled with support for writer type
# $1. The type name must match what "bro --help" prints.
bro --helper 2>&1 | grep -qi "Supported log formats:.*$1"