Skip to content

Commit

Permalink
Merge pull request #5875 from Slancaster1/no_input_device
Browse files Browse the repository at this point in the history
virsh_detach_device_alias: Skip test when no input
  • Loading branch information
dzhengfy authored Sep 6, 2024
2 parents 4abb80d + 304b4a6 commit 03ea5b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def start_usbredirserver():
if input_type == "passthrough":
event = process.run("ls /dev/input/event*", shell=True, ignore_status=True).stdout
if len(event) == 0:
test.error("Not found any input devices")
test.skip("Not found any input devices")
input_dict.update({"source_evdev": event.decode('utf-8').split()[0]})

input_obj = Input(type_name=input_type)
Expand Down

0 comments on commit 03ea5b7

Please sign in to comment.