mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
DHCP: Adding unit tests.
This commit is contained in:
parent
0f1b0e75b7
commit
1786a3b92d
10 changed files with 68 additions and 2 deletions
|
@ -0,0 +1,8 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue