Integrate spicy-ldap test suite

This commit is contained in:
Benjamin Bannier 2023-09-18 08:53:52 +02:00
parent f172febbcb
commit d7db52dff6
35 changed files with 67 additions and 115 deletions

View file

@ -0,0 +1,11 @@
# Copyright (c) 2021 by the Zeek Project. See LICENSE for details.
# @TEST-EXEC: zeek -C -r ${TRACES}/ldap/simpleauth.pcap %INPUT
# @TEST-EXEC: cat conn.log | zeek-cut -Cn local_orig local_resp > conn.log2 && mv conn.log2 conn.log
# @TEST-EXEC: btest-diff conn.log
# @TEST-EXEC: btest-diff ldap.log
# @TEST-EXEC: btest-diff ldap_search.log
#
# @TEST-DOC: Test LDAP search attributes with small trace.
redef LDAP::default_log_search_attributes = T;