Skip to content

Commit

Permalink
Implement a functional test for KQL
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrk2 authored and kashwy committed Aug 26, 2023
1 parent cfdec48 commit e102a76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/queries/0_stateless/02366_kql_func_ip.reference
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fe80:0000:0000:0000:085d:e82c:9446:7994
192.168.1.0/24
192.168.1.0/24
192.168.1.1/32
192.168.1.0/24
1
1
-- parse_ipv6_mask()
Expand Down
1 change: 1 addition & 0 deletions tests/queries/0_stateless/02366_kql_func_ip.sql
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ print format_ipv4_mask('192.168.1.255', 24);
print format_ipv4_mask(3232236031, 24);
print format_ipv4_mask('192.168.1.1', 24);
print format_ipv4_mask('192.168.1.1', 32);
print format_ipv4_mask('192.168.1.1/24', 32);
print format_ipv4_mask('192.168.1.1/24', -1) == '';
print format_ipv4_mask('abc', 24) == '';
print '-- parse_ipv6_mask()';
Expand Down

0 comments on commit e102a76

Please sign in to comment.