Adds a test to try to write a sysctl parameter above /proc
and passes if it gives an error message.
References:
commit f25d462166f80b844d33dad3e4c06088c809a426
systemd-sysctl handles glob patterns along with overrides and
exceptions. Now the procps sysctl does it too.
The return value for sysctl is consistently either 0 or 1.
Added tests to check sysctl functions.
References:
procps-ng/procps#191
Signed-off-by: Craig Small <csmall@dropbear.xyz>