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
ncm-hostsfile: Cleanup and tests #1502
Conversation
I could do with some more examples of how this component is used in the wild to build more test cases, right now it looks to me like the behaviour of |
Looks like we use takeover=true. What sort of examples would you like? Looks like our default profile is:
|
test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test for takeover=true using the sample profile I provided above please?
I've added backwards incompatible because this removes short name support, but looking at our /etc/hosts file, I believe we are still using it. Can you restore that functionality please?
No problem, sample profile added and functionality restored. |
ab25bf9
to
fbf39d7
Compare
Move behaviour inline with source code and move usage/type documentation to schema
return undef in any other case
I think leaving the backwards incompatible flag in place is justified as the schema now has some type checking in place. |
Add test for working IPv4 only behaviour.