Skip to content

Commit

Permalink
OVAL/probes/fwupdsecattr: Fix test
Browse files Browse the repository at this point in the history
The 'org.fwupd.hsi.Kernel.Lockdown' attribute could be in any of
'not-valid', 'not-enabled' or 'enabled' states, depending on the
system. And we are fine getting any of them.
  • Loading branch information
evgenyz committed Jul 20, 2023
1 parent 3ed934e commit 6256a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/probes/fwupdsecattr/test_probes_fwupdsecattr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<states>

<lin-def:fwupdsecattr_state id="oval:0:ste:1" version="1">
<lin-def:security_attr datatype="string" operation="pattern match">not-valid|not-enabled</lin-def:security_attr>
<lin-def:security_attr datatype="string" operation="pattern match">not-valid|not-enabled|enabled</lin-def:security_attr>
</lin-def:fwupdsecattr_state>

</states>
Expand Down

0 comments on commit 6256a25

Please sign in to comment.