Commit d51d75a8 authored by Guido Gunther's avatar Guido Gunther Committed by Martin Kepplinger
Browse files

pytests: Fix headphone irq detection

The irq name changed in at least 5.11 and later kernels
parent 15fa2f2d
Pipeline #63709 passed with stages
in 2 minutes and 58 seconds
......@@ -34,7 +34,8 @@ def test_codec_and_modem_cards_exist():
def test_headphone_detection():
"Check if we registered the headphone detection IRQ"
f = open("/proc/interrupts")
assert " HP_DET" in f.read()
out = f.read()
assert (" HP_DET" in out or "Headphone detection" in out)
def test_sound_output(tempdir):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment