diff --git a/tests/remote_desktop_freerdp.pm b/tests/remote_desktop_freerdp.pm index 13d9a738..f9208626 100644 --- a/tests/remote_desktop_freerdp.pm +++ b/tests/remote_desktop_freerdp.pm @@ -23,7 +23,7 @@ sub run { # When the subsequent scripts wait for the server to complete the settings, # the machines go to sleep and waking them up is unreliable when we need # them. Let us switch off that behaviour first. - assert_script_run("su $login", timeout => 20); + enter_cmd("su $login"); enter_cmd("dconf write /org/gnome/settings-daemon/plugins/power/idle-dim false"); enter_cmd("dconf write /org/gnome/desktop/session/idle-delay 0"); enter_cmd("dconf write /org/gnome/desktop/screensaver/lock-enabled false");