|
Ran
|
Jobs
1
|
Files
1971
|
Run time
4min
|
Badge
README BADGES
|
push
github
core: gracefully skip unknown policy designators in RootImagePolicy et al (#40060) Usually we gracefully ignore unknown configuration parameters, so that service files can be written by upstreams and used across a variegated range of distributions with various versions of systemd, to avoid forcing users to the minimum common denominator and only adding settings that are supported by the oldest distro supported. Image policies do not behave like this, and any unknown partition or policy designator causes the whole unit to fail to parse and a hard error. Change it so that parsing RootImagePolicy and friends via unit file or D-Bus logs but otherwise ignores unknown specifiers, like other options do. This allows us to add new specifiers in the future, and users to adopt them immediately. Follow-up for d452335aa
44 of 49 new or added lines in 7 files covered. (89.8%)
297 existing lines in 37 files now uncovered.309479 of 425707 relevant lines covered (72.7%)
1150153.67 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
71.21 |
0.0% | src/core/execute-serialize.c |
| 1 |
90.0 |
0.16% | src/shared/image-policy.c |
| 1 |
59.15 |
0.0% | src/udev/udev-builtin-dissect_image.c |
| 2 |
0.0 |
0.0% | src/mountfsd/mountwork.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20151578145.1 | 1971 |
72.7 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|