Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns: convert unittests for dns.query keyword #2275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

catenacyber
Copy link
Collaborator

@catenacyber catenacyber added the tests pass These new tests should pass label Feb 6, 2025
@catenacyber
Copy link
Collaborator Author

Reused OISF/suricata@9463fca

@catenacyber
Copy link
Collaborator Author

no pcap extension... 🤞

@jasonish
Copy link
Member

jasonish commented Feb 6, 2025

Can we use the existing filename convention: DetectDnsQueryTest01 -> dns-detect-query-01

Or something...

@@ -0,0 +1,3 @@
# Description

Translation of unit test DetectDnsQueryTest01
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the DNS rust conversion this test no longer exists so we have no point a reference. A nice explanation would be good. And yeah, I realize the unit tests didn't have much of an explanation either.

Copy link
Member

@jasonish jasonish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests pass These new tests should pass
Development

Successfully merging this pull request may close these issues.

2 participants