CFE-4000: Added time based sys variables#5865
Conversation
larsewi
left a comment
There was a problem hiding this comment.
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. |
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/ |
larsewi
left a comment
There was a problem hiding this comment.
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
|
|
|
@cf-bottom Jenkins please :) |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/12642/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12642/ |
48b517b to
653f83a
Compare
Ticket: CFE-4000 Signed-off-by: Victor Moene <victor.moene@northern.tech>
Signed-off-by: Victor Moene <victor.moene@northern.tech>
653f83a to
86e009e
Compare
Merge together https://github.com/cfengine/nova/pull/2448