mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev.
This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
This commit is contained in:
parent
375b151a4b
commit
789cb376fd
1119 changed files with 1686 additions and 1647 deletions
|
@ -25,12 +25,12 @@ case $output_dir in
|
|||
esac
|
||||
|
||||
cd $build_dir
|
||||
. bro-path-dev.sh
|
||||
. zeek-path-dev.sh
|
||||
export BRO_SEED_FILE=$source_dir/testing/btest/random.seed
|
||||
|
||||
function run_zeek
|
||||
{
|
||||
ZEEK_ALLOW_INIT_ERRORS=1 bro -X $conf_file zeexygen >/dev/null 2>$zeek_error_file
|
||||
ZEEK_ALLOW_INIT_ERRORS=1 zeek -X $conf_file zeexygen >/dev/null 2>$zeek_error_file
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed running zeek with zeexygen config file $conf_file"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /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.
|
||||
# $1. The type name must match the plugin name that "zeek -N" prints.
|
||||
|
||||
bro -N | grep -q $1 >/dev/null
|
||||
zeek -N | grep -q $1 >/dev/null
|
||||
|
|
|
@ -247,7 +247,7 @@ run() {
|
|||
for cf in $COREFILES; do
|
||||
echo
|
||||
echo "############# Begin stack trace for $cf ###############"
|
||||
gdb build/src/bro -c "$cf" -ex "thread apply all bt" -ex "set pagination 0" -batch;
|
||||
gdb build/src/zeek -c "$cf" -ex "thread apply all bt" -ex "set pagination 0" -batch;
|
||||
echo "############# End stack trace for $cf #################"
|
||||
echo
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue