From f610617fc60887c7ba327a0d8b572f4acd604b78 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Wed, 27 Jun 2018 10:08:51 +0200 Subject: [PATCH] Add login line. --- tests/upgrade_graph.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/upgrade_graph.pm b/tests/upgrade_graph.pm index ceb5de9b..0d8d7f00 100644 --- a/tests/upgrade_graph.pm +++ b/tests/upgrade_graph.pm @@ -10,8 +10,16 @@ sub run { if ($release eq "rawhide") { $relnum = get_var("RAWREL", "rawhide"); } + + # log as the test user + script_run "su --login test" + + # switch back to the graphics + send_key "ctrl-alt-f2" + # disable screen blanking (download can take a long time) script_run "setterm -blank 0"; + # handle bootloader, if requested; set longer timeout as sometimes