We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2297156 commit 27232bfCopy full SHA for 27232bf
1 file changed
tests/e2e.py
@@ -109,7 +109,7 @@ def test_secure_boot_enabled(child):
109
child,
110
"od -An -t u1 "
111
"/sys/firmware/efi/efivars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c "
112
- "2>/dev/null | awk '{print $NF}'"
+ "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})"
0 commit comments