mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move GeoIP availability test in btests to zeek-config --have-geoip
This commit is contained in:
parent
c2e791287e
commit
173f5e7137
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Like other MMDB tests, this uses a pcap to use each packet as a driver to
|
# Like other MMDB tests, this uses a pcap to use each packet as a driver to
|
||||||
# touch the DBs involved upon each packet, triggering DB reloads.
|
# touch the DBs involved upon each packet, triggering DB reloads.
|
||||||
#
|
#
|
||||||
# @TEST-REQUIRES: grep -q "#define USE_GEOIP" $BUILD/zeek-config.h
|
# @TEST-REQUIRES: $BUILD/zeek-config --have-geoip
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
||||||
# @TEST-EXEC: zeek -b -r $TRACES/rotation.trace %INPUT >out
|
# @TEST-EXEC: zeek -b -r $TRACES/rotation.trace %INPUT >out
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# @TEST-DOC: Test basic DB lookups for success/failure.
|
# @TEST-DOC: Test basic DB lookups for success/failure.
|
||||||
#
|
#
|
||||||
# @TEST-REQUIRES: grep -q "#define USE_GEOIP" $BUILD/zeek-config.h
|
# @TEST-REQUIRES: $BUILD/zeek-config --have-geoip
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: zeek -b %INPUT >out.nodb
|
# @TEST-EXEC: zeek -b %INPUT >out.nodb
|
||||||
# @TEST-EXEC: btest-diff out.nodb
|
# @TEST-EXEC: btest-diff out.nodb
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# @TEST-DOC: Change the modification time of the mmdb database on every packet. This triggers reopening of the MMDB database.
|
# @TEST-DOC: Change the modification time of the mmdb database on every packet. This triggers reopening of the MMDB database.
|
||||||
#
|
#
|
||||||
# @TEST-REQUIRES: grep -q "#define USE_GEOIP" $BUILD/zeek-config.h
|
# @TEST-REQUIRES: $BUILD/zeek-config --have-geoip
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
||||||
# @TEST-EXEC: zeek -b -r $TRACES/rotation.trace %INPUT >out
|
# @TEST-EXEC: zeek -b -r $TRACES/rotation.trace %INPUT >out
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# @TEST-DOC: Test a few error and recovery cases (corrupted, removed and restored MMDB databases).
|
# @TEST-DOC: Test a few error and recovery cases (corrupted, removed and restored MMDB databases).
|
||||||
#
|
#
|
||||||
# @TEST-REQUIRES: grep -q "#define USE_GEOIP" $BUILD/zeek-config.h
|
# @TEST-REQUIRES: $BUILD/zeek-config --have-geoip
|
||||||
# @TEST-REQUIRES: command -v truncate
|
# @TEST-REQUIRES: command -v truncate
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
# @TEST-EXEC: cp -R $FILES/mmdb ./mmdb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue