mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

* origin/topic/vladg/dhcp: DHCP: Adding unit tests. DHCP: Rework the DHCP analyzer to make it compatible again.
8 lines
334 B
Text
8 lines
334 B
Text
# This tests that the known_devices log is created,
|
|
# that devices are logged by MAC address, and that
|
|
# the DHCP hostname is added, if available.
|
|
|
|
# @TEST-EXEC: bro -r $TRACES/dhcp/dhcp.trace -r $TRACES/dhcp/dhcp_inform.trace %INPUT
|
|
# @TEST-EXEC: btest-diff known_devices.log
|
|
|
|
@load policy/protocols/dhcp/known-devices-and-hostnames
|