mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Use the right delete and improve the leak test.
Increases the size of the table being loaded in the pattern leak test and uses the right delete method.
This commit is contained in:
parent
7227908d74
commit
0733c857d2
2 changed files with 7 additions and 7 deletions
|
@ -19,12 +19,14 @@ redef exit_only_after_terminate = T;
|
|||
4 /^oob/
|
||||
5 /foo/
|
||||
6 /foo/
|
||||
7 /dog/
|
||||
8 /cat/
|
||||
9 /foo|bar/
|
||||
10 /^oob/
|
||||
11 /foo/
|
||||
12 /foo/
|
||||
@TEST-END-FILE
|
||||
|
||||
global outfile: file;
|
||||
|
||||
module A;
|
||||
|
||||
type Idx: record {
|
||||
i: int;
|
||||
};
|
||||
|
@ -37,8 +39,6 @@ global pats: table[int] of Val = table();
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
outfile = open("../out");
|
||||
# first read in the old stuff into the table...
|
||||
Input::add_table([$source="../input.log", $name="pats", $idx=Idx, $val=Val, $destination=pats]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue