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
This commit is contained in:
Josef Skladanka 2015-11-03 13:56:17 +01:00
parent 7a4eff8acb
commit 2e1dc5877b

View File

@ -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"));
}