I added a few tests to more accurately characterize the *BufferSize fields. I also added new Name & Description tests alongside the similar ones for other sections (although I'm not sure why they're in 2.31 specifically). I did not add specific tests for the higher flexibility on MTUBytes as that didn't seem to be worth an explicit test case.
Summary
Resolve various false-positive findings related to Link and Network sections of Unit files which were showing up on my builds.
Details
Description
is actually supported in[Network]
Description
is actually supported in[Network]
K, M, G
suffixes, not the value itself. Various non-divisible by 1024 values are common in this field.max
is a special allowed value for this fieldmax
is a special allowed value for this fieldName
is actually supported in[Link]
RxJumboBufferSize
is actually supported in[Link]
RxMiniBufferSize
is actually supported in[Link]
Validation
I added a few tests to more accurately characterize the *BufferSize fields. I also added new
Name
&Description
tests alongside the similar ones for other sections (although I'm not sure why they're in 2.31 specifically). I did not add specific tests for the higher flexibility onMTUBytes
as that didn't seem to be worth an explicit test case.