We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27232bf commit b9898adCopy full SHA for b9898ad
1 file changed
tests/e2e.py
@@ -112,7 +112,8 @@ def test_secure_boot_enabled(child):
112
"2>/dev/null | tr -s ' ' '\\n' | tail -1"
113
)
114
assert rc == 0, "SecureBoot EFI variable not readable"
115
- assert out.strip() == "1", f"Secure Boot not active (last byte = {out.strip()!r})"
+ m = re.search(r"(\d+)\s*$", out)
116
+ assert m and m.group(1) == "1", f"Secure Boot not active: {out.strip()!r}"
117
118
119
def test_status(child):
0 commit comments