From c4b3fe401e90bbcc8425d185fe4b783338f8171b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Sun, 23 Jan 2022 12:23:12 +0100 Subject: [PATCH] Replace serial device with a variable. --- tests/desktop_printing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/desktop_printing.pm b/tests/desktop_printing.pm index cd68283f..a239f1c7 100644 --- a/tests/desktop_printing.pm +++ b/tests/desktop_printing.pm @@ -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();