mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove deprecations tagged for v8.1
This commit is contained in:
parent
e4dab3dded
commit
d95affde4d
108 changed files with 113 additions and 2230 deletions
|
@ -1,11 +1,11 @@
|
|||
# We once had a bug where DNS lookups at init time lead to an immediate crash.
|
||||
# We once had a bug where DNS lookups at init time lead to an immediate crash.
|
||||
#
|
||||
# @TEST-EXEC: zeek -b %INPUT
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
const foo: set[addr] = {
|
||||
google.com
|
||||
blocking_lookup_hostname("google.com")
|
||||
};
|
||||
|
||||
print foo;
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
redef exit_only_after_terminate = T;
|
||||
|
||||
global addrs: set[addr] = {
|
||||
google.com,
|
||||
bing.com,
|
||||
yahoo.com
|
||||
blocking_lookup_hostname("google.com"),
|
||||
blocking_lookup_hostname("bing.com"),
|
||||
blocking_lookup_hostname("yahoo.com")
|
||||
};
|
||||
|
||||
global c: count = 0;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# @TEST-DOC: Testing deprecated hostname literal resolutions
|
||||
#
|
||||
# @TEST-EXEC: zeek --parse-only -b %INPUT 2>err.parse-only >out.parse-only
|
||||
# @TEST-EXEC: zeek -b %INPUT 2>err >out
|
||||
#
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff err.parse-only
|
||||
# @TEST-EXEC: btest-diff out.parse-only
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff err
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
print "dns.example.com", dns.example.com;
|
Loading…
Add table
Add a link
Reference in a new issue