mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
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:
parent
7a4eff8acb
commit
2e1dc5877b
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user