use configured username and password

This commit is contained in:
Trevor Cooper 2024-07-22 00:10:38 -07:00
parent 3ecdf9b668
commit 962d765414
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8

View File

@ -66,7 +66,7 @@ sub run {
assert_script_run "sudo chmod ugo+w /dev/" . $serialdev;
# let's go to another tty and login as regular user again
send_key "alt-f2";
console_login(user => "test", password => "weakpassword");
console_login(user => get_var("USER_LOGIN", "test"), password => get_var("USER_PASSWORD", "weakpassword"));
assert_script_run "sudo python3 -m unittest tunirtests.cloudservice.TestServiceAfter -v";
assert_script_run "sudo python3 -m unittest tunirtests.atomictests.TestDockerInstalled -v";
assert_script_run "sudo python3 -m unittest tunirtests.atomictests.TestDockerStorageSetup -v";