Skip to content

Commit

Permalink
audio: unload guest' module-vchan-sink in hvm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
easydozen committed Jun 24, 2020
1 parent 314e3c5 commit 362cf00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qubes/tests/integ/vm_qrexec_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ def test_223_audio_play_hvm(self):
self.testvm1.virt_mode = 'hvm'
self.testvm1.features['audio-model'] = 'ich6'
self.prepare_audio_vm()
self.loop.run_until_complete(
self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink'))
self.common_audio_playback()

@unittest.skipUnless(spawn.find_executable('parecord'),
Expand All @@ -599,6 +601,8 @@ def test_224_audio_rec_muted_hvm(self):
self.testvm1.virt_mode = 'hvm'
self.testvm1.features['audio-model'] = 'ich6'
self.prepare_audio_vm()
self.loop.run_until_complete(
self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink'))
self.common_audio_record_muted()

@unittest.skipUnless(spawn.find_executable('parecord'),
Expand All @@ -607,6 +611,8 @@ def test_225_audio_rec_unmuted_hvm(self):
self.testvm1.virt_mode = 'hvm'
self.testvm1.features['audio-model'] = 'ich6'
self.prepare_audio_vm()
self.loop.run_until_complete(
self.testvm1.run_for_stdio('pacmd unload-module module-vchan-sink'))
self.common_audio_record_unmuted()

def test_250_resize_private_img(self):
Expand Down

0 comments on commit 362cf00

Please sign in to comment.