diff options
author | Dan Streetman <ddstreet@ieee.org> | 2021-11-05 16:56:16 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-08 08:37:08 +0100 |
commit | bf47f71c1cd36c2b0eb5aeac4d8bdf58c67f2b33 (patch) | |
tree | f5df0c05e3277c29472ac30841f1d4c204a4c8c7 /src/gpt-auto-generator | |
parent | 2d8840eb6632a43956b73a1042e8b8244623494a (diff) | |
download | systemd-bf47f71c1cd36c2b0eb5aeac4d8bdf58c67f2b33.tar.gz |
test: refactor test-procfs-util for clarity and skip test on perm failure
After commit c3dead53d50e334f2d072a2248256983d6dc9f8c the test can fail
if the procfs file(s) aren't writable, because the check for permission
failure happens after a call that will never fail, since setting the
limit to the existing limit will always pass.
This also refactors the function slightly to make the test var names
clearer.
Diffstat (limited to 'src/gpt-auto-generator')
0 files changed, 0 insertions, 0 deletions