-
Notifications
You must be signed in to change notification settings - Fork 196
CFE-4605: Fixed getgroups test for AIX, solaris and suse 15 #5950
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
Conversation
|
Solaris AIX |
ca59479 to
0e29c3a
Compare
|
There was some conflicts. Can you squash the merge commit? |
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.
This test doesn't read well for me due to the concat(nth(splitstring expressions with seemingly random integers.
You could improve it by adding a comment near each type of var you create explaining what it should contain and maybe an example.
| nth(splitstring("$(this)", ":", 2), 0), "@(group_entries)" | ||
| ); | ||
| # slice out the 3 first entries: root, bin, daemon | ||
| # filter out root, bin, daemon |
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.
Instead of filtering out... why don't you create the actual result dynamically by some shell scripting and compare that to the getgroups() output?
Ticket: CFE-4605 Changelog: Made the test for getgroups() more robust and fixed it for AIX and solaris Signed-off-by: Victor Moene <victor.moene@northern.tech>
1e515c2 to
8e51fb6
Compare
|
@cf-bottom Jenkins with exotics please :) |
|
Alright, I triggered a build: (with exotics) Jenkins: https://ci.cfengine.com/job/pr-pipeline/13126/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13126/ |
The error is not related |
No description provided.