-
Notifications
You must be signed in to change notification settings - Fork 185
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
ENT-9491: Fixed bug in double expansion of foreign list variables #5536
Conversation
Thank you for submitting a PR! Maybe @craigcomstock can review this? |
222fcf5
to
3f1c774
Compare
Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
1ad9041
to
ae785aa
Compare
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.
Very well done, sir! 👏 🍻 I'd just squash the last two commits because it doesn't make sense to cherry-pick one without the other. We would have to mark the test as soft-failing and then remove that together with the fix, but I think that's just extra unnecessary work.
Test output before fix looks like this: ``` R: /ntech/cfengine/core/tests/acceptance/01_vars/01_basic/double_expansion_list.cf FAIL R: $($(parent_bundle).str) => EXPANDED R: $($(parent_bundle).lst) => $(check.lst) R: $(check.baz) => EXPANDED R: $($(parent_bundle)$lst) => EXPANDED ``` Ticket: ENT-9491 Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
Back-ported to: