Replace serial device with a variable.

This commit is contained in:
Lukáš Růžička 2022-01-23 12:23:12 +01:00 committed by adamwill
parent 980ba5f411
commit c4b3fe401e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ sub run {
script_run("rm /home/test/Desktop/*");
# Verification commands need serial console to be writable and readable for
# normal users, let's make it writable then.
script_run("chmod 666 /dev/ttyS0");
script_run("chmod 666 /dev/${serialdev}");
# Leave the root terminal and switch back to desktop for the rest of the test.
desktop_vt();