-
Notifications
You must be signed in to change notification settings - Fork 189
CFE-4000: Added time based sys variables #5865
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
base: master
Are you sure you want to change the base?
Conversation
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.
Could you create an acceptance test using variablesmatching(). E.g., variablesmatching()
on sys.time_based_dom
should return a list of length 1 and the value should match ^Day[1-3][0-9]?$
Similarly classesmatching()
should return list of length 1.
c993883
to
5ff5a52
Compare
Please rebase with upstream master, now that libntech module is updated. |
2ecf21f
to
5e2c5cc
Compare
Ticket: CFE-4000 Signed-off-by: Victor Moene <[email protected]>
Signed-off-by: Victor Moene <[email protected]>
5e2c5cc
to
48b517b
Compare
@cf-bottom Jenkins please :) |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/12579/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12579/ |
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.
19:10:11 scheduled-reports.c:686:35: error: initialization of ‘StringSet *’ from incompatible pointer type ‘StringMap *’ [-Wincompatible-pointer-types]
19:10:11 686 | StringSet *time_classes = GetTimeClasses(time);
19:10:11 | ^~~~~~~~~~~~~~
Looks like the GetTimeClasses()
function is used in more places
|
|
Merge together https://github.com/cfengine/nova/pull/2448