From 962d765414b992e6b33f98731d4692dead1d8008 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Mon, 22 Jul 2024 00:10:38 -0700 Subject: [PATCH] use configured username and password --- tests/autocloud.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/autocloud.pm b/tests/autocloud.pm index b00d3064..5ff7d494 100644 --- a/tests/autocloud.pm +++ b/tests/autocloud.pm @@ -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";