From 2e1dc5877b33e31528f6b145ad4302d327feedc0 Mon Sep 17 00:00:00 2001 From: Josef Skladanka Date: Tue, 3 Nov 2015 13:56:17 +0100 Subject: [PATCH] Login as user in console every time Instead of removing the ` QA:Testcase_Anaconda_user_creation` from all the testsuites, make OpenQA login in console (as user) each time. Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D636 --- tests/_console_wait_login.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/_console_wait_login.pm b/tests/_console_wait_login.pm index 1bd7f08f..1fef73f8 100644 --- a/tests/_console_wait_login.pm +++ b/tests/_console_wait_login.pm @@ -12,9 +12,7 @@ sub run { # Reboot and wait for the text login assert_screen "text_console_login", $wait_time; - if (get_var("USER_LOGIN") && get_var("USER_PASSWORD")) { - $self->console_login(user=>get_var("USER_LOGIN"), password=>get_var("USER_PASSWORD")); - } + $self->console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword")); if (get_var("ROOT_PASSWORD")) { $self->console_login(user=>"root", password=>get_var("ROOT_PASSWORD")); }