mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Use .zeek file suffix in unit tests
This commit is contained in:
parent
93d384adeb
commit
1e57e3f026
862 changed files with 533 additions and 529 deletions
|
@ -13,7 +13,7 @@
|
|||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff worker-2/.stdout
|
||||
# @TEST-EXEC: btest-diff manager-1/intel.log
|
||||
|
||||
@TEST-START-FILE cluster-layout.bro
|
||||
@TEST-START-FILE cluster-layout.zeek
|
||||
redef Cluster::nodes = {
|
||||
["manager-1"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))],
|
||||
["worker-1"] = [$node_type=Cluster::WORKER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT2")), $manager="manager-1"],
|
|
@ -11,7 +11,7 @@
|
|||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff worker-2/.stdout
|
||||
# @TEST-EXEC: btest-diff manager-1/intel.log
|
||||
|
||||
@TEST-START-FILE cluster-layout.bro
|
||||
@TEST-START-FILE cluster-layout.zeek
|
||||
redef Cluster::nodes = {
|
||||
["manager-1"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))],
|
||||
["worker-1"] = [$node_type=Cluster::WORKER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT2")), $manager="manager-1"],
|
|
@ -16,7 +16,7 @@
|
|||
127.0.2.3 Intel::ADDR this btest
|
||||
@TEST-END-FILE
|
||||
|
||||
@load path-prefix-common.bro
|
||||
@load path-prefix-common.zeek
|
||||
|
||||
redef Intel::read_files += { "test.data" };
|
||||
redef InputAscii::path_prefix = "/this/does/not/exist";
|
|
@ -13,7 +13,7 @@
|
|||
127.0.1.3 Intel::ADDR this btest
|
||||
@TEST-END-FILE
|
||||
|
||||
@load path-prefix-common.bro
|
||||
@load path-prefix-common.zeek
|
||||
|
||||
redef Intel::read_files += { "test.data" };
|
||||
redef InputAscii::path_prefix = "input";
|
|
@ -14,7 +14,7 @@
|
|||
127.0.0.3 Intel::ADDR this btest
|
||||
@TEST-END-FILE
|
||||
|
||||
@load path-prefix-common.bro
|
||||
@load path-prefix-common.zeek
|
||||
|
||||
redef Intel::read_files += { "test.data" };
|
||||
redef InputAscii::path_prefix = "alternative";
|
|
@ -11,6 +11,6 @@
|
|||
127.0.0.3 Intel::ADDR this btest
|
||||
@TEST-END-FILE
|
||||
|
||||
@load path-prefix-common.bro
|
||||
@load path-prefix-common.zeek
|
||||
|
||||
redef Intel::read_files += { "test.data" };
|
|
@ -11,7 +11,7 @@
|
|||
# @TEST-EXEC: btest-diff worker-1/.stdout
|
||||
# @TEST-EXEC: btest-diff worker-2/.stdout
|
||||
|
||||
@TEST-START-FILE cluster-layout.bro
|
||||
@TEST-START-FILE cluster-layout.zeek
|
||||
redef Cluster::nodes = {
|
||||
["manager-1"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))],
|
||||
["worker-1"] = [$node_type=Cluster::WORKER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT2")), $manager="manager-1"],
|
|
@ -8,7 +8,7 @@
|
|||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff worker-1/.stdout
|
||||
# @TEST-EXEC: btest-diff manager-1/intel.log
|
||||
|
||||
# @TEST-START-FILE cluster-layout.bro
|
||||
# @TEST-START-FILE cluster-layout.zeek
|
||||
redef Cluster::nodes = {
|
||||
["manager-1"] = [$node_type=Cluster::MANAGER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT1"))],
|
||||
["worker-1"] = [$node_type=Cluster::WORKER, $ip=127.0.0.1, $p=to_port(getenv("BROKER_PORT2")), $manager="manager-1"],
|
Loading…
Add table
Add a link
Reference in a new issue