1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-29 10:35:58 +00:00

Tidy finished scripts

This commit is contained in:
Lukáš Růžička 2025-08-01 13:54:04 +02:00 committed by Adam Williamson
parent df3d701801
commit a8f3c60b78
2 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@ sub run {
menu_launch_type("terminal");
wait_still_screen(3);
enter_cmd("xfreerdp /u:$rdpuser /p:$rdppass /v:$ip /sec:nla /cert:ignore");
# Check that a connection window has appeared.
assert_screen("connection_window");
# Log onto the system.
assert_and_check("connection_login_screen");
sleep(2);

View File

@ -19,7 +19,7 @@ sub run {
# Check that SElinux is in permissive mode
validate_script_output("getenforce", sub { m/Permissive/ });
# In Workstation, the RDP port should be opened per se,
# In Workstation, the RDP port should be opened per se,
# but let's open it explicitely, to make sure it is open.
assert_script_run("firewall-cmd --add-port=3389/tcp");
@ -68,7 +68,7 @@ sub run {
$self->root_console(tty => 3);
if (script_run("systemctl status gnome-remote-desktop --no-pager")) {
record_soft_failure("The Gnome Remote Desktop service is not running.");
assert_script_run("systemctl enable --now gnome-remote-desktop");
assert_script_run("systemctl enable --now gnome-remote-desktop");
}
# Create mutex to synchronise with the children.