zeek/testing/scripts/has-writer
Jon Siwek d342cde22c Improve error message when failing to activate a plugin.
Also fix a unit test helper script that checks plugin availability.
2014-09-16 10:09:46 -05:00

6 lines
193 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 the plugin name that "bro -N" prints.
bro -N | grep -q $1 >/dev/null